离线更新使用户

版权声明:com.anleiya.www https://blog.csdn.net/weixin_42996187/article/details/82630545

生成离线更新包:
1.手动创建assets文件夹:
android\app\src\main

2.在RN根目录,生成离线包:
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/

生成以后的包:
android\app\src\main\assets:
index.android.bundle
index.android.bundle.meta

8.0手机处理

猜你喜欢

转载自blog.csdn.net/weixin_42996187/article/details/82630545