codePush说明
2018-01-29 本文已影响0人
唐_亮
codePush环境搭建 环境搭建文章:环境搭建 git地址:codePush git地址2.0.3,Android RN44.0上的。
一测试环境。
1.打包Android bundle:
react-native bundle --platform android --entry-file index.android.js --bundle-output ./bundles/index.android.bundle --assets-dest ./bundles --dev false
2、上传刚刚打包的bundle:
code-push release yftxmarket ./bundles/ 1.0.0 --description "1.修改标题颜色。" --mandatory true
3、发布命令
code-push promote yftxmarket Staging Production -r 100% 覆盖率100%。
这样就可以在客户端检查更新了。