Flutter教程

Pro

Contents

This plugin enables Ionic Pro services like live updates and error monitoring

https://github.com/ionic-team/cordova-plugin-ionic

联系我们?

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 Pro插件的安装(Installation)

ionic cordova plugin add cordova-plugin-ionic npm install @ionic-native/pro
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/pro

Ionic Pro插件支持的平台(Supported Platforms)

  • Android
  • iOS

Ionic Pro插件的用法(Usage)

import { Pro, AppInfo, DeployInfo } from '@ionic-native/pro/ngx';


constructor(private pro: Pro) { }

// Get app info
this.pro.getAppInfo().then((res: AppInfo) => {
  console.log(res)
})

// Get live update info
this.pro.deploy.info().then((res: DeployInfo) => {
  console.log(res)
})