This project uses CodePush (via @code-push-next/react-native-code-push) to deliver over-the-air (OTA) updates for JavaScript bundles and assets without needing a full app store release.
You must configure these keys in both Android and iOS native files.
android/app/src/main/res/values/strings.xml
<resources>
<string name="app_name">MyApp</string>
<!-- Replace this key with your Android CodePush Deployment Key -->
<string name="CodePushDeploymentKey">YOUR_ANDROID_CODEPUSH_KEY_HERE</string>
</resources>ios/<YourAppName>/Info.plist
<plist version="1.0">
<dict>
...
<!-- Replace this key with your iOS CodePush Deployment Key -->
<key>CodePushDeploymentKey</key>
<string>YOUR_IOS_CODEPUSH_KEY_HERE</string>
...
</dict>
</plist>🧪 Note: A test APK is included in the repository — you can install it to verify that CodePush is working correctly.
The App.tsx file (in this repo) automatically:
- Checks for updates on app launch.
- Installs updates immediately.
- Allows manual refresh using pull-to-refresh.