Flutter教程

Hot Code Push

Contents

HotCodePush plugin for Cordova that supports iOS and Android. This plugin allows you to keep your html, css and js files synced with your server.

For more info, please see the detailed wiki https://github.com/nordnet/cordova-hot-code-push/wiki

https://github.com/nordnet/cordova-hot-code-push

联系我们?

If you're building a serious project, you can't afford to spend hours troubleshooting. Ionic's experts offer official maintenance, support, and integration help.

Contact Us Today!

Ionic 热更新Hot Code Push插件的安装(Installation)

ionic cordova plugin add cordova-hot-code-push npm install @ionic-native/hot-code-push
Ionic EE comes with fully supported and maintained plugins from the Ionic Team. Learn More or Contact Us
ionic enterprise register --key=YOURPRODUCTKEY npm install @ionic-enterprise/hot-code-push

Ionic 热更新Hot Code Push插件支持的平台(Supported Platforms)

  • Android
  • iOS

Ionic 热更新Hot Code Push插件的用法(Usage)

import { HotCodePush } from '@ionic-native/hot-code-push/ngx';

constructor(private hotCodePush: HotCodePush) { }

...

hotCodePush.fetchUpdate(options).then(data => { console.log('Update available'); });