Skip to content

stallion-tech/react-native-stallion

stallionBanner

React Native Stallion – Best CodePush Alternative & Expo Updates Replacement

npm Version
License

React Native Stallion is the 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. The best Expo Updates alternative with advanced OTA controls, patch-based updates, and advanced security features.

👉 Sign up with Stallion to start shipping OTA updates today


Why Choose React Native Stallion?

React Native Stallion is the best CodePush alternative 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>
  )
}

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

Migration Guides


Use Cases

CodePush Alternative

React Native Stallion is the best CodePush alternative 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

The best Expo Updates alternative 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 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. The best CodePush alternative and Expo Updates replacement with patch-based updates, advanced security features, and up to 98% smaller deployments (depending on changes).

About

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