Closed
Description
Indexed unbundling:
- command
"react-native unbundle --platform android --dev false --entry-file index.android.js --bundle-output ../src/main/assets/index.android.bundle --assets-dest ../src/main/res/ --indexed-unbundle --config ../../../../packager/config.js"
Create a single file which is stripped down version of typical bundle. But app crashes on loading react view with this bundle.
- crash log
Could not get BatchedBridge, make sure your bundle is packaged properly” on start of app
File based unbundling
-
command
"react-native unbundle --platform android --dev false --entry-file index.android.js --bundle-output ../src/main/assets/index.android.bundle --assets-dest ../src/main/res/ --config ../../../../packager/config.js" -
No Crash but creates index.android.bundle file of 16KB and create supporting patches of all the js code base in folder js-modules.
If i use this files based unbundling with code push will it work? or is there any way.
Thanx in advance.