jpush-phonegap-plugin
Advanced tools
Comparing version 3.1.7 to 3.1.8
@@ -0,0 +0,0 @@ # Android API 简介 |
@@ -0,0 +0,0 @@ #Android 手动安装 |
@@ -226,3 +226,3 @@ # 通用 API 说明(同时适用于 Android 和 iOS 系统) | ||
} else { | ||
lertContent = event.aps.alert | ||
alertContent = event.aps.alert | ||
} | ||
@@ -229,0 +229,0 @@ }, false) |
@@ -0,0 +0,0 @@ # iOS API |
@@ -0,0 +0,0 @@ ## iOS 手动安装 |
{ | ||
"name": "jpush-phonegap-plugin", | ||
"version": "3.1.7", | ||
"version": "3.1.8", | ||
"description": "JPush for cordova plugin", | ||
@@ -24,9 +24,5 @@ "cordova": { | ||
], | ||
"engines": [{ | ||
"name": "cordova", | ||
"version": ">=3.0" | ||
}], | ||
"dependencies": { | ||
"devDependencies": { | ||
"cordova-plugin-device": "*", | ||
"cordova-plugin-jcore": "1.1.4" | ||
"cordova-plugin-jcore": "*" | ||
}, | ||
@@ -33,0 +29,0 @@ "author": "JiGuang", |
@@ -5,3 +5,3 @@ # JPush PhoneGap / Cordova Plugin | ||
[![QQ Group](https://img.shields.io/badge/QQ%20Group-413602425-red.svg)]() | ||
[![release](https://img.shields.io/badge/release-3.1.7-blue.svg)](https://github.com/jpush/jpush-phonegap-plugin/releases) | ||
[![release](https://img.shields.io/badge/release-3.1.8-blue.svg)](https://github.com/jpush/jpush-phonegap-plugin/releases) | ||
[![platforms](https://img.shields.io/badge/platforms-iOS%7CAndroid-lightgrey.svg)](https://github.com/jpush/jpush-phonegap-plugin) | ||
@@ -21,12 +21,19 @@ [![weibo](https://img.shields.io/badge/weibo-JPush-blue.svg)](http://weibo.com/jpush?refer_flag=1001030101_&is_all=1) | ||
cordova plugin add jpush-phonegap-plugin --variable APP_KEY=your_jpush_appkey | ||
``` | ||
cordova plugin add jpush-phonegap-plugin --variable APP_KEY=your_jpush_appkey | ||
``` | ||
- 或直接通过 url 安装: | ||
cordova plugin add https://github.com/jpush/jpush-phonegap-plugin.git --variable APP_KEY=your_jpush_appkey | ||
``` | ||
cordova plugin add https://github.com/jpush/jpush-phonegap-plugin.git --variable APP_KEY=your_jpush_appkey | ||
``` | ||
- 或下载到本地安装: | ||
cordova plugin add Your_Plugin_Path --variable APP_KEY=your_jpush_appkey | ||
``` | ||
cordova plugin add Your_Plugin_Path --variable APP_KEY=your_jpush_appkey | ||
``` | ||
> 如果你的 Cordova 版本 >= v7.0.0,在安装插件和添加 platform 时,在命令行最后加上 --nofetch,否则极大可能会报错。 | ||
@@ -50,3 +57,3 @@ ## Usage | ||
## FAQ | ||
> 如果遇到了疑问,请优先参考 Demo 和 API 文档。若还无法解决,可访问[极光社区](http://community.jiguang.cn/)或 [Issues](https://github.com/jpush/jpush-phonegap-plugin/issues) 提问。 | ||
> 如果遇到了疑问,请优先参考 Demo 和 API 文档。若还无法解决,可到 [Issues](https://github.com/jpush/jpush-phonegap-plugin/issues) 提问。 | ||
@@ -102,3 +109,3 @@ ### Android | ||
- [JPush 官网文档](https://docs.jiguang.cn/jpush/guideline/intro/) | ||
- [极光社区](http://community.jiguang.cn/) | ||
- [极光社区](http://community.jiguang.cn/) | ||
@@ -105,0 +112,0 @@ ## Contribute |
@@ -211,2 +211,8 @@ var JPushPlugin = function () {} | ||
// Android methods | ||
JPushPlugin.prototype.getConnectionState = function (successCallback) { | ||
if (device.platform === 'Android') { | ||
this.callNative('getConnectionState', [], successCallback) | ||
} | ||
} | ||
JPushPlugin.prototype.setBasicPushNotificationBuilder = function () { | ||
@@ -213,0 +219,0 @@ if (device.platform === 'Android') { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Wildcard dependency
QualityPackage has a dependency with a floating version range. This can cause issues if the dependency publishes a new major version.
Found 1 instance in 1 package
6202438
0
53
17167
1
113
2
3
- Removedcordova-plugin-device@*
- Removedcordova-plugin-jcore@1.1.4
- Removedcordova-plugin-device@3.0.0(transitive)
- Removedcordova-plugin-jcore@1.1.4(transitive)