Answers for "release debug apk in react native"

0

react native debug apk

cd android && gradlew clean && cd ..
react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res
cd android/
gradlew assembleDebug 
(or you can use for release: gradlew assembleRelease)
cd android && gradlew clean && gradlew assembleRelease
Posted by: Guest on October-30-2020
-2

how to identify debug and release build in react native

if (__DEV__) {
    console.log('I am in debug');
}
Posted by: Guest on October-28-2020

Code answers related to "release debug apk in react native"

Code answers related to "Javascript"

Browse Popular Code Answers by Language