Skip to content

Commit 74fea46

Browse files
authored
Merge pull request #418 from jpush/dev
Dev
2 parents 07466a8 + b2f79c6 commit 74fea46

File tree

6 files changed

+10
-9
lines changed

6 files changed

+10
-9
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "jpush-phonegap-plugin",
3-
"version": "3.7.2",
3+
"version": "3.7.3",
44
"description": "JPush for cordova plugin",
55
"cordova": {
66
"id": "jpush-phonegap-plugin",

plugin.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
33
xmlns:android="http://schemas.android.com/apk/res/android"
44
id="jpush-phonegap-plugin"
5-
version="3.7.2">
5+
version="3.7.3">
66

77
<name>JPush</name>
88
<description>JPush for cordova plugin</description>
@@ -49,7 +49,7 @@
4949
<source-file src="src/ios/Plugins/AppDelegate+JPush.m" />
5050

5151
<header-file src="src/ios/lib/JPUSHService.h" />
52-
<source-file src="src/ios/lib/jpush-ios-3.2.1.a" framework="true" />
52+
<source-file src="src/ios/lib/jpush-ios-3.2.6.a" framework="true" />
5353
<resource-file src="src/ios/JPushConfig.plist" />
5454

5555
<framework src="CFNetwork.framework" weak="true" />
@@ -249,7 +249,7 @@
249249

250250
</config-file>
251251

252-
<lib-file src="src/android/libs/jpush-android-3.3.4.jar" />
252+
<lib-file src="src/android/libs/jpush-android-3.3.8.jar" />
253253

254254
<source-file src="src/android/PushService.java" target-dir="src/cn/jiguang/cordova/push" />
255255
<source-file src="src/android/JPushPlugin.java" target-dir="src/cn/jiguang/cordova/push" />
-191 KB
Binary file not shown.
201 KB
Binary file not shown.

src/ios/lib/JPUSHService.h

100755100644
Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* Copyright (c) 2011 ~ 2017 Shenzhen HXHG. All rights reserved.
1010
*/
1111

12-
#define JPUSH_VERSION_NUMBER 3.2.1
12+
#define JPUSH_VERSION_NUMBER 3.2.6
1313

1414
#import <Foundation/Foundation.h>
1515

@@ -45,7 +45,7 @@ typedef NS_OPTIONS(NSUInteger, JPAuthorizationOptions) {
4545
JPAuthorizationOptionCriticalAlert NS_AVAILABLE_IOS(12.0) = (1 << 4) , //The ability to play sounds for critical alerts.
4646
JPAuthorizationOptionProvidesAppNotificationSettings NS_AVAILABLE_IOS(12.0) = (1 << 5) , //An option indicating the system should display a button for in-app notification settings.
4747
JPAuthorizationOptionProvisional NS_AVAILABLE_IOS(12.0) = (1 << 6) , //The ability to post noninterrupting notifications provisionally to the Notification Center.
48-
48+
JPAuthorizationOptionAnnouncement NS_AVAILABLE_IOS(13.0) = (1 << 7) , //The ability for Siri to automatically read out messages over AirPods.
4949
};
5050

5151
/*!
@@ -108,6 +108,7 @@ typedef NS_OPTIONS(NSUInteger, JPAuthorizationOptions) {
108108
@property (nonatomic, copy) NSString *launchImageName NS_AVAILABLE_IOS(10_0); // 启动图片名,iOS10以上有效,从推送启动时将会用到
109109
@property (nonatomic, copy) NSString *summaryArgument NS_AVAILABLE_IOS(12.0); //插入到通知摘要中的部分参数。iOS12以上有效。
110110
@property (nonatomic, assign) NSUInteger summaryArgumentCount NS_AVAILABLE_IOS(12.0); //插入到通知摘要中的项目数。iOS12以上有效。
111+
@property (nonatomic, copy) NSString *targetContentIdentifier NS_AVAILABLE_IOS(13.0); // An identifier for the content of the notification used by the system to customize the scene to be activated when tapping on a notification.
111112

112113
@end
113114

@@ -659,7 +660,7 @@ callbackSelector:(SEL)cbSelector
659660
* @param center [UNUserNotificationCenter currentNotificationCenter] 新特性用户通知中心
660661
* @param notification 当前管理的通知对象
661662
*/
662-
- (void)jpushNotificationCenter:(UNUserNotificationCenter *)center openSettingsForNotification:(nullable UNNotification *)notification NS_AVAILABLE_IOS(12.0);
663+
- (void)jpushNotificationCenter:(UNUserNotificationCenter *)center openSettingsForNotification:(UNNotification *)notification NS_AVAILABLE_IOS(12.0);
663664

664665
@end
665666

@@ -672,7 +673,7 @@ callbackSelector:(SEL)cbSelector
672673
@param userInfo 地理围栏触发时返回的信息
673674
@param error 错误信息
674675
*/
675-
- (void)jpushGeofenceIdentifer:(NSString * _Nonnull)geofenceId didEnterRegion:(NSDictionary * _Nullable)userInfo error:(NSError * _Nullable)error;
676+
- (void)jpushGeofenceIdentifer:(NSString *)geofenceId didEnterRegion:(NSDictionary *)userInfo error:(NSError *)error;
676677

677678
/**
678679
离开地理围栏区域
@@ -681,6 +682,6 @@ callbackSelector:(SEL)cbSelector
681682
@param userInfo 地理围栏触发时返回的信息
682683
@param error 错误信息
683684
*/
684-
- (void)jpushGeofenceIdentifer:(NSString * _Nonnull)geofenceId didExitRegion:(NSDictionary * _Nullable)userInfo error:(NSError * _Nullable)error;
685+
- (void)jpushGeofenceIdentifer:(NSString *)geofenceId didExitRegion:(NSDictionary *)userInfo error:(NSError *)error;
685686

686687
@end
Binary file not shown.

0 commit comments

Comments
 (0)