https://github.com/stallion-tech/react-native-stallion
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.
https://github.com/stallion-tech/react-native-stallion
android ios react-native stallion
Last synced: 23 days ago
JSON representation
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.
- Host: GitHub
- URL: https://github.com/stallion-tech/react-native-stallion
- Owner: stallion-tech
- License: mit
- Created: 2023-06-09T19:34:59.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2026-01-14T07:51:40.000Z (6 months ago)
- Last Synced: 2026-01-19T22:54:58.309Z (5 months ago)
- Topics: android, ios, react-native, stallion
- Language: Java
- Homepage: https://stalliontech.io
- Size: 3.5 MB
- Stars: 114
- Watchers: 2
- Forks: 3
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
[](https://stalliontech.io/)
# React Native Stallion β Best CodePush Alternative & Expo Updates Replacement
[](https://www.npmjs.com/package/react-native-stallion)
[](https://www.npmjs.com/package/react-native-stallion)
**React Native Stallion** is the modern **CodePush alternative** and **App Center replacement** for React Native apps. Ship app updates instantly with **98% smaller patches**βno App Store delays. The best **Expo Updates alternative** with advanced OTA controls, patch-based updates, and enterprise-grade security.
π **[Sign up with Stallion](https://console.stalliontech.io/)** 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:
- **98% Smaller Patch Updates** β Binary-safe differential updates, not full bundles
- **Automatic Rollback & Crash Recovery** β Instant rollback on crashes or failures
- **Enterprise-Grade Security** β Cryptographic bundle signing with customer keys
- **Zero App Store Delays** β Ship JavaScript updates instantly, no review needed
- **CodePush Compatible** β Easy migration from CodePush or App Center
- **Advanced Analytics** β Release-wise adoption and failure tracking
- **On-Premise Option** β Self-hosted deployment for enterprise security
- **Free Tier Available** β Perfect for indie devs and small teams
---
## Quick Start
### Installation
```bash
npm install react-native-stallion@latest
```
### Basic Usage
```javascript
import { useStallionUpdate, restart } from 'react-native-stallion'
const UpdateModal = () => {
const { isRestartRequired, newReleaseBundle } = useStallionUpdate()
if (!isRestartRequired) return null
return (
{newReleaseBundle?.releaseNote || 'Update ready!'}
)
}
```
---
## Key Features
### Patch Updates (98% Smaller)
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, 98% smaller than full bundles
- **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
### Enterprise Security
Enterprise-grade 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
- **GDPR & Regional Compliance** β Data residency options
### 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
```bash
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](https://learn.stalliontech.io/docs/sdk/installation)**
### Step 3: Configure Stallion
```javascript
import { withStallion } from 'react-native-stallion'
export default withStallion(RootComponent);
```
---
## Documentation & Resources
### Complete Documentation
- **[Full Documentation](https://learn.stalliontech.io)** β Complete API reference and guides
- **[SDK Installation](https://learn.stalliontech.io/docs/sdk/installation)** β Step-by-step setup
- **[Bundle Signing](https://learn.stalliontech.io/docs/bundle-signing)** β Security best practices
- **[Custom Update UI](https://learn.stalliontech.io/blogs/react-native-over-the-air-updates-with-custom-ui)** β Build custom flows
- **[CI/CD Integration](https://learn.stalliontech.io/docs/release-automation)** β Automate deployments
### Migration Guides
- **[CodePush Migration](https://learn.stalliontech.io/docs/migrating-from-codepush)** β Migrate from CodePush
- **[App Center Migration](https://stalliontech.io/app-center-alternative)** β Replace App Center
- **[Expo Updates Migration](https://stalliontech.io/expo-eas-update)** β Switch from Expo Updates
---
## 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 (98% smaller)
- β
Advanced OTA controls
- β
More affordable pricing
- β
Works with Expo SDK 52+ and bare React Native
### Enterprise OTA Updates
Enterprise-grade OTA update solution:
- β
On-premise hosting
- β
SOC 2 compliant
- β
Bundle signing with customer keys
- β
Regional compliance options
---
## 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 for compliance
---
## Enterprise & On-Premise
### On-Premise Hosting
Take full control with self-hosted deployment:
- **Enterprise-Grade Security** β Behind your firewall
- **Complete Infrastructure Control** β Your data centers
- **Regional Compliance** β GDPR & 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](https://stalliontech.io/)**
---
## Contributing
We welcome contributions! Please see the [CONTRIBUTING.md](./CONTRIBUTING.md) file to get started.
---
## Issues & Support
- **[Open Issues](https://github.com/stallion-tech/react-native-stallion/issues)** β Report bugs or request features
- **[Documentation](https://learn.stalliontech.io)** β Complete guides and API reference
- **[Contact Support](https://stalliontech.io/)** β Get help from our team
---
## π Links
- **Website:** [https://stalliontech.io](https://stalliontech.io)
- **Documentation:** [https://learn.stalliontech.io](https://learn.stalliontech.io)
- **Console:** [https://console.stalliontech.io](https://console.stalliontech.io)
- **NPM Package:** [https://www.npmjs.com/package/react-native-stallion](https://www.npmjs.com/package/react-native-stallion)
---
> **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, enterprise security, and 98% smaller deployments.