I'm Generating the release APK for Android and want to test it without minifying the code.
How can I generate a release version for Android or iOS without minify the code?
Thanks.
I'm Generating the release APK for Android and want to test it without minifying the code.
How can I generate a release version for Android or iOS without minify the code?
Thanks.
If you are using the default react-native cli you just need to use --minify false.
e.g.
node node_modules/react-native/local-cli/cli.js bundle --entry-file index.js --platform ios --minify false --dev false --reset-cache --bundle-output './ios/MobileTravelAdvisor/main.jsbundle' --assets-dest './ios'
Haul to the rescue,
Finally I found a solution, it seems that using Haul to generate the bundle is possible with the flag --minify false
, use it with the command haul bundle
© 2022 - 2024 — McMap. All rights reserved.
app/build.gradle
file for buildTypes? – Diagenesis