diff --git a/README.md b/README.md index c350fab..32fb66b 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ [![Build Status](https://travis-ci.org/jpush/jpush-phonegap-plugin.svg?branch=master)](https://travis-ci.org/jpush/jpush-phonegap-plugin) [![QQ Group](https://img.shields.io/badge/QQ%20Group-413602425-red.svg)]() -[![release](https://img.shields.io/badge/release-3.1.3-blue.svg)](https://github.com/jpush/jpush-phonegap-plugin/releases) +[![release](https://img.shields.io/badge/release-3.1.5-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) [![weibo](https://img.shields.io/badge/weibo-JPush-blue.svg)](http://weibo.com/jpush?refer_flag=1001030101_&is_all=1) @@ -69,7 +69,7 @@ Android 的推送通过长连接的方式实现,只有在连接保持的情况 #### 打包时遇到 i386 打包失败怎么办? ``` -cordova platform update ios +cordova platform update ios ``` #### ionic 2 如何调用 API? diff --git a/package.json b/package.json index 861432b..cefbca0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "jpush-phonegap-plugin", - "version": "3.1.4", + "version": "3.1.5", "description": "JPush for cordova plugin", "cordova": { "id": "jpush-phonegap-plugin", @@ -27,7 +27,7 @@ }], "peerDependencies": { "cordova-plugin-device": ">=1.0.0", - "cordova-plugin-jcore": "1.1.2" + "cordova-plugin-jcore": "1.1.4" }, "author": "JiGuang", "license": "MIT", diff --git a/plugin.xml b/plugin.xml index 045d283..eb11217 100644 --- a/plugin.xml +++ b/plugin.xml @@ -2,7 +2,7 @@ + version="3.1.5"> JPush JPush for cordova plugin @@ -38,7 +38,7 @@ - + @@ -186,7 +186,7 @@ - + diff --git a/src/android/libs/jpush-android_v3.0.5.jar b/src/android/libs/jpush-android_v3.0.5.jar deleted file mode 100644 index fa11c4e..0000000 Binary files a/src/android/libs/jpush-android_v3.0.5.jar and /dev/null differ diff --git a/src/android/libs/jpush-android_v3.0.6.jar b/src/android/libs/jpush-android_v3.0.6.jar new file mode 100644 index 0000000..ef6e96f Binary files /dev/null and b/src/android/libs/jpush-android_v3.0.6.jar differ diff --git a/src/ios/lib/JPUSHService.h b/src/ios/lib/JPUSHService.h index 2af2e76..8912735 100644 --- a/src/ios/lib/JPUSHService.h +++ b/src/ios/lib/JPUSHService.h @@ -9,7 +9,7 @@ * Copyright (c) 2011 ~ 2017 Shenzhen HXHG. All rights reserved. */ -#define JPUSH_VERSION_NUMBER 3.0.2 +#define JPUSH_VERSION_NUMBER 3.0.5 #import @@ -456,7 +456,7 @@ callbackSelector:(SEL)cbSelector * * SDK 默认开启的日志级别为: Info. 只显示必要的信息, 不打印调试日志. * - * 调用本接口可打开日志级别为: Debug, 打印调试日志. + * 请在SDK启动后调用本接口,调用本接口可打开日志级别为: Debug, 打印调试日志. */ + (void)setDebugMode; diff --git a/src/ios/lib/jpush-ios-3.0.2.a b/src/ios/lib/jpush-ios-3.0.5.a similarity index 65% rename from src/ios/lib/jpush-ios-3.0.2.a rename to src/ios/lib/jpush-ios-3.0.5.a index 95e4fa0..7f30e52 100644 Binary files a/src/ios/lib/jpush-ios-3.0.2.a and b/src/ios/lib/jpush-ios-3.0.5.a differ