Skip to content

Commit 9e23995

Browse files
committed
Update iOS jpush to v3.2.6
1 parent a745524 commit 9e23995

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

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

0 commit comments

Comments
 (0)