文档有点多,刚开始很懵逼
ionic native文档:https://ionicframework.com/docs/native/code-push/
ionic示例:https://github.com/ksachdeva/ionic2-code-push-example
code-push gihub:https://github.com/Microsoft/cordova-plugin-code-push
微软文档:https://docs.microsoft.com/en-us/appcenter/sdk/getting-started/cordova
https://github.com/lisong/code-push-server
除了微软插件外,还有个插件:
https://github.com/nordnet/cordova-hot-code-push
https://github.com/nordnet/cordova-hot-code-push-cli
国内使用实际上就两个方案:
cordova-hot-code-push和cordova-plugin-code-push
最终我选用了cordova-plugin-code-push 配合code-push-server实现