ionic 3.19.0
cordova 7.1.0
android 7.1.1
jmessage-phonegap-plugin 4.1.0
jpush-phonegap-plugin 3.6.4
然后调用setAlias时提示 plugin not install
下面是package.json信息:
```
{
"name": "TongChengMJ",
"version": "0.0.1",
"author": "Ionic Framework",
"homepage": "http://ionicframework.com/",
"private": true,
"scripts": {
"start": "ionic-app-scripts serve",
"clean": "ionic-app-scripts clean",
"build": "ionic-app-scripts build",
"lint": "ionic-app-scripts lint"
},
"dependencies": {
"@angular/animations": "5.2.11",
"@angular/common": "5.2.11",
"@angular/compiler": "5.2.11",
"@angular/compiler-cli": "5.2.11",
"@angular/core": "5.2.11",
"@angular/forms": "5.2.11",
"@angular/http": "5.2.11",
"@angular/platform-browser": "5.2.11",
"@angular/platform-browser-dynamic": "5.2.11",
"@ionic-native/browser-tab": "^4.20.0",
"@ionic-native/camera": "^4.20.0",
"@ionic-native/core": "4.20.0",
"@ionic-native/file": "^4.20.0",
"@ionic-native/file-opener": "^4.20.0",
"@ionic-native/file-transfer": "^4.20.0",
"@ionic-native/in-app-browser": "^4.20.0",
"@ionic-native/photo-library": "^4.20.0",
"@ionic-native/splash-screen": "4.20.0",
"@ionic-native/sqlite": "^4.20.0",
"@ionic-native/status-bar": "~4.20.0",
"@ionic-native/toast": "^4.20.0",
"@ionic/storage": "2.2.0",
"@jiguang-ionic/jmessage": "^2.0.0",
"@jiguang-ionic/jpush": "^1.0.2",
"cordova-android": "7.1.1",
"cordova-ios": "4.5.5",
"cordova-plugin-add-swift-support": "^1.6.0",
"cordova-plugin-alipay-v2": "^2.0.0",
"cordova-plugin-browsertab": "^0.2.0",
"cordova-plugin-camera": "^4.1.0",
"cordova-plugin-compat": "^1.2.0",
"cordova-plugin-device": "^2.0.3",
"cordova-plugin-file": "^6.0.2",
"cordova-plugin-file-opener2": "^2.2.1",
"cordova-plugin-file-transfer": "^1.7.1",
"cordova-plugin-inappbrowser": "^3.1.0",
"cordova-plugin-ionic-keyboard": "^2.1.3",
"cordova-plugin-ionic-webview": "^4.1.1",
"cordova-plugin-jcore": "^1.2.8",
"cordova-plugin-photo-library": "^2.2.1",
"cordova-plugin-splashscreen": "^5.0.2",
"cordova-plugin-statusbar": "^2.4.3",
"cordova-plugin-whitelist": "^1.3.4",
"cordova-plugin-x-toast": "^2.7.2",
"cordova-sqlite-storage": "^3.3.0",
"ionic-angular": "3.9.5",
"ionic2-city-picker": "^0.0.11",
"ionicons": "3.0.0",
"jmessage-phonegap-plugin": "^4.1.1",
"jpush-phonegap-plugin": "^3.6.4",
"rxjs": "5.5.11",
"sw-toolbox": "3.6.0",
"zone.js": "0.8.29"
},
"devDependencies": {
"@ionic/app-scripts": "3.2.1",
"typescript": "^2.8.1"
},
"description": "An Ionic project",
"cordova": {
"plugins": {
"cordova-plugin-file": {},
"cordova-plugin-file-opener2": {
"ANDROID_SUPPORT_V4_VERSION": "27.+"
},
"cordova-plugin-file-transfer": {},
"cordova-plugin-camera": {
"ANDROID_SUPPORT_V4_VERSION": "27.+"
},
"cordova-sqlite-storage": {},
"cordova-plugin-photo-library": {
"PHOTO_LIBRARY_USAGE_DESCRIPTION": "To choose photos"
},
"cordova-plugin-x-toast": {},
"cordova-plugin-whitelist": {},
"cordova-plugin-statusbar": {},
"cordova-plugin-device": {},
"cordova-plugin-splashscreen": {},
"cordova-plugin-ionic-webview": {
"ANDROID_SUPPORT_ANNOTATIONS_VERSION": "27.+"
},
"cordova-plugin-ionic-keyboard": {},
"cordova-plugin-inappbrowser": {},
"cordova-plugin-browsertab": {},
"jpush-phonegap-plugin": {
"APP_KEY": "819e9a9725bdfddbb79919a4",
"CHANNEL": "developer-default"
},
"cordova-plugin-alipay-v2": {
"APP_ID": "2019051264523217"
},
"jmessage-phonegap-plugin": {
"APP_KEY": "819e9a9725bdfddbb79919a4",
"CHANNEL": "developer-default"
}
},
"platforms": [
"android"
]
}
}