iOS SDK更新到jpush5.5.0

This commit is contained in:
huangshuni 2025-01-21 10:57:06 +08:00
parent 679f68c7fd
commit aae5380195
8 changed files with 30 additions and 3 deletions

View File

@ -48,7 +48,7 @@
<header-file src="src/ios/Plugins/AppDelegate+JPush.h" />
<source-file src="src/ios/Plugins/AppDelegate+JPush.m" />
<source-file src="src/ios/lib/jpush-ios-5.4.0.xcframework" framework="true" />
<source-file src="src/ios/lib/jpush-ios-5.5.0.xcframework" framework="true" />
<resource-file src="src/ios/JPushConfig.plist" />
<framework src="CFNetwork.framework" weak="true" />
@ -64,6 +64,7 @@
<framework src="UserNotifications.framework" weak="true" />
<framework src="libresolv.tbd" weak="true" />
<framework src="StoreKit.framework" weak="true" />
<framework src="Network.framework" weak="true" />
<config-file target="*JPushConfig.plist" parent="Appkey">
<string>$APP_KEY</string>

View File

@ -9,7 +9,7 @@
* Copyright (c) 2011 ~ 2017 Shenzhen HXHG. All rights reserved.
*/
#define JPUSH_VERSION_NUMBER 5.4.0
#define JPUSH_VERSION_NUMBER 5.5.0
#import <Foundation/Foundation.h>
@ -261,6 +261,19 @@ typedef NS_ENUM(NSUInteger, JPAuthorizationStatus) {
+ (void)registerDeviceToken:(NSData *)deviceToken;
/*!
* @abstract liveactivity的启动token
*
* @param activityAttributes liveActivity定义的属性类型
* @param pushToStartToken liveactivity的pushToStartTokenpushToStartToken
* @param completion
* @param seq
*/
+ (void)registerLiveActivity:(NSString *)activityAttributes
pushToStartToken:(nullable NSData *)pushToStartToken
completion:(nullable JPUSHLiveActivityTokenCompletion)completion
seq:(NSInteger)seq;
/*!
* @abstract liveActivity并上报其pushToken
* pushToken有变化的时候同步调用该接口

View File

@ -9,7 +9,7 @@
* Copyright (c) 2011 ~ 2017 Shenzhen HXHG. All rights reserved.
*/
#define JPUSH_VERSION_NUMBER 5.4.0
#define JPUSH_VERSION_NUMBER 5.5.0
#import <Foundation/Foundation.h>
@ -261,6 +261,19 @@ typedef NS_ENUM(NSUInteger, JPAuthorizationStatus) {
+ (void)registerDeviceToken:(NSData *)deviceToken;
/*!
* @abstract liveactivity的启动token
*
* @param activityAttributes liveActivity定义的属性类型
* @param pushToStartToken liveactivity的pushToStartTokenpushToStartToken
* @param completion
* @param seq
*/
+ (void)registerLiveActivity:(NSString *)activityAttributes
pushToStartToken:(nullable NSData *)pushToStartToken
completion:(nullable JPUSHLiveActivityTokenCompletion)completion
seq:(NSInteger)seq;
/*!
* @abstract liveActivity并上报其pushToken
* pushToken有变化的时候同步调用该接口