Skip to content

stallion-tech/react-native-stallion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

118 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

stallionBanner

React Native Stallion – Best CodePush Alternative & Expo Updates Replacement

npm Version Β  GitHub Stars Β  npm Downloads Β  SOC 2 Type 1 Β  License

⭐ If React Native Stallion helps you ship OTA updates, consider starring the repo on GitHub!

React Native Stallion is a modern CodePush alternative and App Center replacement for React Native apps. Ship app updates instantly with up to 98% smaller patches (depending on changes)β€”no app store resubmission required for JavaScript updates. A full-featured Expo EAS Update alternative with advanced OTA controls, patch-based updates, and enterprise security.

Trusted by 2,500+ organizations serving 500M+ users. 10,000 MAU free tier β€” no credit card required.

πŸ‘‰ Sign up with Stallion to start shipping OTA updates today


Why Choose React Native Stallion?

React Native Stallion is a leading CodePush replacement for teams that need modern OTA update capabilities:

  • Up to 98% Smaller Patch Updates (Depending on Changes) – Binary-safe differential updates, not full bundles
  • Automatic Rollback & Crash Recovery – Instant rollback on crashes or failures
  • Advanced Security Features – Cryptographic bundle signing with customer keys
  • No App Store Resubmission for JavaScript Updates – Ship JavaScript updates instantly
  • CodePush Compatible – Easy migration from CodePush or App Center
  • Advanced Analytics – Release-wise adoption and failure tracking
  • On-Premise Option – Self-hosted deployment with a security-focused architecture
  • Free Tier Available – Perfect for indie devs and small teams

Quick Start

Installation

npm install react-native-stallion@latest

Basic Usage

import { useStallionUpdate, restart } from 'react-native-stallion'

const UpdateModal = () => {
  const { isRestartRequired, newReleaseBundle } = useStallionUpdate()

  if (!isRestartRequired) return null

  return (
    <Modal visible>
      <Text>{newReleaseBundle?.releaseNote || 'Update ready!'}</Text>
      <Button onPress={restart} title="Restart App" />
    </Modal>
  )
}

Migrating from CodePush?

Replace deprecated CodePush with React Native Stallion in minutes. Read the migration guide β†’


Key Features

Patch Updates (Up to 98% Smaller, Depending on Changes)

React Native Stallion uses binary-safe differential updates instead of full bundles. Ship only what changedβ€”tiny patches that are cryptographically verified and applied atomically.

  • Differential/Patch Updates – Binary-safe diffs, up to 98% smaller than full bundles (depending on changes)
  • Bandwidth Efficiency – Minimal data transfer for faster installs
  • Instant Updates – Users never notice the update process

Automatic Rollback & Crash Recovery

Protect your users with automatic rollback capabilities:

  • Automatic Rollback – Instant rollback on crashes or failures
  • Crash Loop Prevention – Prevents bad updates from breaking your app
  • Manual Rollback – Device-level revert for installed updates
  • Rollback Analytics – Track rollback rates and reasons

Security-Focused Architecture

Advanced security features for production apps:

  • Bundle Signing – Cryptographic verification with customer-managed keys
  • Integrity Verification – SHA-256 checksums for tamper-proof updates
  • On-Premise Hosting – Deploy behind your firewall with full control
  • Privacy-Focused Architecture – Supports regional data residency

Advanced OTA Controls

Granular control over update deployment:

  • Mandatory & Optional Updates – CodePush-style update flows
  • Phased Rollout – Gradual deployment with percentage controls
  • Custom Update UI – Build custom modals, banners, or prompts
  • Update Strategy Control – Granular install strategies
  • Background Updates – Automatic checks when app moves to foreground

πŸ”§ Installation & Setup

Step 1: Install the Package

npm install react-native-stallion@latest
# or
yarn add react-native-stallion@latest

Step 2: Native Integration

For complete setup instructions, native integration steps, and environment configurations, visit:

πŸ“š Full Installation Guide

Step 3: Configure Stallion

import { withStallion } from 'react-native-stallion'

export default withStallion(RootComponent);

Documentation & Resources

Complete Documentation

Featured Guides

Migration Guides


Use Cases

CodePush Alternative

React Native Stallion is a modern CodePush replacement for teams migrating from deprecated CodePush or App Center:

  • βœ… CodePush-compatible API
  • βœ… Patch updates (CodePush doesn't support)
  • βœ… Active development and support
  • βœ… Modern features and security

Expo Updates Replacement

A strong Expo Updates replacement with more features:

  • βœ… Patch updates (up to 98% smaller, depending on changes)
  • βœ… Advanced OTA controls
  • βœ… More affordable pricing
  • βœ… Works with Expo SDK 52+ and bare React Native

Enterprise OTA Updates

Enterprise-ready OTA update solution:

  • βœ… On-premise hosting
  • βœ… Bundle signing with customer keys
  • βœ… Privacy-focused architecture
  • βœ… Supports regional data residency

Security

React Native Stallion is SOC 2 Type 1 compliant (Security, Availability, Confidentiality).


Security Features

  • Cryptographic Bundle Signing – Customer-managed keys for tamper-proof updates
  • SHA-256 Integrity Verification – Automatic checksum validation
  • Automatic Crash Detection – Instant rollback on crashes
  • On-Premise Deployment – Full infrastructure control
  • Audit Logging – Complete audit trails

Enterprise & On-Premise

On-Premise Hosting

Take full control with self-hosted deployment:

  • Security-Focused Architecture – Behind your firewall
  • Complete Infrastructure Control – Your data centers
  • Privacy-Focused Architecture – Supports regional data residency
  • Seamless CI/CD – REST APIs and webhooks
  • Zero Vendor Lock-in – Full access to logs and metrics

Contact sales for on-premise hosting


Contributing

We welcome contributions! Please see the CONTRIBUTING.md file to get started.


Issues & Support


πŸ”— Links


React Native Stallion – The fastest, safest way to manage React Native OTA updates. A CodePush alternative and Expo EAS Update replacement with patch-based updates, enterprise security, and up to 98% smaller deployments (depending on changes).

About

React Native Stallion is a fully managed over the air (OTA) update platform for React Native. Test, deploy, and roll back JavaScript bundle updates without app store releases. Built-in testing framework, real-time analytics, and advanced rollout control included.

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors