美文网首页
codePush说明

codePush说明

作者: 唐_亮 | 来源:发表于2018-01-29 11:43 被阅读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%。

    这样就可以在客户端检查更新了。

    相关文章

      网友评论

          本文标题:codePush说明

          本文链接:https://www.haomeiwen.com/subject/sflxzxtx.html