How to use offline bundle on android?
I didn`t see the document about use offline bundle on android.
I tried to uncomment the code in build.gradle.
For offline bunduling of JS into android, first start the server in respective project path:
copy and paste this command:
Before you copy and paste command in command propmt, make assets folder in project respective path
as:
android/app/src/main/assets
paste this command in command prompt and run:
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/