You can use a special env. variable on iOS
FORCE_BUNDLING=1 yarn ios
For android edit your app's android/app/build.gradle
file:
// React Native <= 0.70.x
project.ext.react = [
// ...
bundleInDebug: System.getenv("FORCE_BUNDLING") != null,
]
// React Native >= 0.71.x
react {
debuggableVariants = System.getenv("FORCE_BUNDLING") ? [] : ["debug"]
}
then you can use:
FORCE_BUNDLING=1 yarn android
Top comments (0)