gradle - Turn off debug menu on React Native Android apk Release -
i'm on rn 0.26 building apk so
cd android && ./gradlew assemblerelease
and keystore things in place generated app-release.apk
app still in debug mode when install on device. errors , rage menu.
i tried hard coding app/react.grade
to
def devenabled = false
no luck. didn't used happen used on rn 0.13.
try executing before generate release apk
react-native bundle --platform android --dev false --entry-file index.android.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res/
Comments
Post a Comment