- Full Article: https://retyui.medium.com/stop-having-to-paying-for-slow-react-native-ios-builds-eeaa9de5d283
- CI/CD
.github/workflows/non_prod_codepush.yml
,scripts/codepush-non-prod.sh
- Client core part
codepush/useSyncOnAppStart.ts
- Client dev menu part
react-native-code-push-dev-menu
+App.tsx
) - Git diff of installing
react-native-code-push
on React Native 0.70.x
- CI/CD
To make codepush release
# Required
export APPCENTER_ACCESS_TOKEN=xxxx
export DEPLOYMENT_NAME=my-branch-name
# Optional
export DESCRIPTION="My desc..."
PLATFORM=ios ./scripts/codepush-non-prod.sh # Codepush release for iOS
PLATFORM=android ./scripts/codepush-non-prod.sh # Codepush release for Android
Demo: