Pro

Contents

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

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

Ionic Pro插件的安装(Installation)

ionic cordova plugin add cordova-plugin-ionic npm install @ionic-native/pro

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

  • Android
  • iOS

Ionic Pro插件的用法(Usage)

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


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)
})