Demonstrate build React Native app using flavor/scheme in Android & iOS. How to run
npx react-native run-android --variant=devDebug
npx react-native run-android --variant=stagingDebug
npx react-native run-android --variant=productionDebug
npx react-native run-ios --scheme FlavorDevelopment --configuration DevelopmentDebug
npx react-native run-ios --scheme FlavorStaging --configuration StagingDebug
npx react-native run-ios --scheme FlavorProduction --configuration ProductionDebug
Flavor | Development | Staging | Production |
---|---|---|---|
Flavor | Development | Staging | Production |
---|---|---|---|