mirror of
https://github.com/jpush/jpush-phonegap-plugin.git
synced 2025-02-07 19:32:51 +08:00
iOS SDK更新到jpush5.5.0
This commit is contained in:
parent
679f68c7fd
commit
aae5380195
@ -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>
|
||||
|
@ -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的pushToStartToken,如有更新,请及时调用该方法更新pushToStartToken
|
||||
* @param completion 响应回调
|
||||
* @param seq 请求序列号
|
||||
*/
|
||||
+ (void)registerLiveActivity:(NSString *)activityAttributes
|
||||
pushToStartToken:(nullable NSData *)pushToStartToken
|
||||
completion:(nullable JPUSHLiveActivityTokenCompletion)completion
|
||||
seq:(NSInteger)seq;
|
||||
|
||||
/*!
|
||||
* @abstract 注册liveActivity并上报其pushToken
|
||||
* 在pushToken有变化的时候同步调用该接口。
|
Binary file not shown.
@ -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的pushToStartToken,如有更新,请及时调用该方法更新pushToStartToken
|
||||
* @param completion 响应回调
|
||||
* @param seq 请求序列号
|
||||
*/
|
||||
+ (void)registerLiveActivity:(NSString *)activityAttributes
|
||||
pushToStartToken:(nullable NSData *)pushToStartToken
|
||||
completion:(nullable JPUSHLiveActivityTokenCompletion)completion
|
||||
seq:(NSInteger)seq;
|
||||
|
||||
/*!
|
||||
* @abstract 注册liveActivity并上报其pushToken
|
||||
* 在pushToken有变化的时候同步调用该接口。
|
Loading…
Reference in New Issue
Block a user