Skip to content

Commit daff0ba

Browse files
committed
iOS 更新到jpush550
1 parent e4d4c00 commit daff0ba

File tree

8 files changed

+32
-6
lines changed

8 files changed

+32
-6
lines changed

ios/RCTJPushModule.xcodeproj/project.pbxproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
/* Begin PBXBuildFile section */
1010
5C103CA7236041E7000AD3DA /* RCTJPushEventQueue.m in Sources */ = {isa = PBXBuildFile; fileRef = 5C103CA6236041E7000AD3DA /* RCTJPushEventQueue.m */; };
11-
623F02B02BDA15F70041AD17 /* jpush-ios-5.3.0.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = 623F02AF2BDA15F70041AD17 /* jpush-ios-5.3.0.xcframework */; };
1211
624386D81E096B8800F69E07 /* RCTJPushModule.m in Sources */ = {isa = PBXBuildFile; fileRef = 624386D41E096B8800F69E07 /* RCTJPushModule.m */; };
12+
6283FF562D390E45003A8199 /* jpush-ios-5.5.0.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6283FF552D390E45003A8199 /* jpush-ios-5.5.0.xcframework */; };
1313
/* End PBXBuildFile section */
1414

1515
/* Begin PBXCopyFilesBuildPhase section */
@@ -27,18 +27,18 @@
2727
/* Begin PBXFileReference section */
2828
5C103CA5236041E7000AD3DA /* RCTJPushEventQueue.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RCTJPushEventQueue.h; sourceTree = "<group>"; };
2929
5C103CA6236041E7000AD3DA /* RCTJPushEventQueue.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RCTJPushEventQueue.m; sourceTree = "<group>"; };
30-
623F02AF2BDA15F70041AD17 /* jpush-ios-5.3.0.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = "jpush-ios-5.3.0.xcframework"; path = "RCTJPushModule/jpush-ios-5.3.0.xcframework"; sourceTree = "<group>"; };
3130
624386D31E096B8800F69E07 /* RCTJPushModule.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RCTJPushModule.h; sourceTree = "<group>"; };
3231
624386D41E096B8800F69E07 /* RCTJPushModule.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RCTJPushModule.m; sourceTree = "<group>"; };
3332
6280980A1CEDC407000D3A81 /* libRCTJPushModule.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libRCTJPushModule.a; sourceTree = BUILT_PRODUCTS_DIR; };
33+
6283FF552D390E45003A8199 /* jpush-ios-5.5.0.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = "jpush-ios-5.5.0.xcframework"; path = "RCTJPushModule/jpush-ios-5.5.0.xcframework"; sourceTree = "<group>"; };
3434
/* End PBXFileReference section */
3535

3636
/* Begin PBXFrameworksBuildPhase section */
3737
628098071CEDC407000D3A81 /* Frameworks */ = {
3838
isa = PBXFrameworksBuildPhase;
3939
buildActionMask = 2147483647;
4040
files = (
41-
623F02B02BDA15F70041AD17 /* jpush-ios-5.3.0.xcframework in Frameworks */,
41+
6283FF562D390E45003A8199 /* jpush-ios-5.5.0.xcframework in Frameworks */,
4242
);
4343
runOnlyForDeploymentPostprocessing = 0;
4444
};
@@ -48,7 +48,7 @@
4848
5CF8E647231E3A9200B12200 /* Frameworks */ = {
4949
isa = PBXGroup;
5050
children = (
51-
623F02AF2BDA15F70041AD17 /* jpush-ios-5.3.0.xcframework */,
51+
6283FF552D390E45003A8199 /* jpush-ios-5.5.0.xcframework */,
5252
);
5353
name = Frameworks;
5454
sourceTree = "<group>";

ios/RCTJPushModule/jpush-ios-5.4.0.xcframework/ios-arm64/Headers/JPUSHService.h renamed to ios/RCTJPushModule/jpush-ios-5.5.0.xcframework/ios-arm64/Headers/JPUSHService.h

Lines changed: 14 additions & 1 deletion
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 5.4.0
12+
#define JPUSH_VERSION_NUMBER 5.5.0
1313

1414
#import <Foundation/Foundation.h>
1515

@@ -261,6 +261,19 @@ typedef NS_ENUM(NSUInteger, JPAuthorizationStatus) {
261261

262262
+ (void)registerDeviceToken:(NSData *)deviceToken;
263263

264+
/*!
265+
* @abstract 上报liveactivity的启动token
266+
*
267+
* @param activityAttributes 某liveActivity定义的属性类型
268+
* @param pushToStartToken 对应该liveactivity的pushToStartToken,如有更新,请及时调用该方法更新pushToStartToken
269+
* @param completion 响应回调
270+
* @param seq 请求序列号
271+
*/
272+
+ (void)registerLiveActivity:(NSString *)activityAttributes
273+
pushToStartToken:(nullable NSData *)pushToStartToken
274+
completion:(nullable JPUSHLiveActivityTokenCompletion)completion
275+
seq:(NSInteger)seq;
276+
264277
/*!
265278
* @abstract 注册liveActivity并上报其pushToken
266279
* 在pushToken有变化的时候同步调用该接口。

ios/RCTJPushModule/jpush-ios-5.4.0.xcframework/ios-arm64_x86_64-simulator/Headers/JPUSHService.h renamed to ios/RCTJPushModule/jpush-ios-5.5.0.xcframework/ios-arm64_x86_64-simulator/Headers/JPUSHService.h

Lines changed: 14 additions & 1 deletion
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 5.4.0
12+
#define JPUSH_VERSION_NUMBER 5.5.0
1313

1414
#import <Foundation/Foundation.h>
1515

@@ -261,6 +261,19 @@ typedef NS_ENUM(NSUInteger, JPAuthorizationStatus) {
261261

262262
+ (void)registerDeviceToken:(NSData *)deviceToken;
263263

264+
/*!
265+
* @abstract 上报liveactivity的启动token
266+
*
267+
* @param activityAttributes 某liveActivity定义的属性类型
268+
* @param pushToStartToken 对应该liveactivity的pushToStartToken,如有更新,请及时调用该方法更新pushToStartToken
269+
* @param completion 响应回调
270+
* @param seq 请求序列号
271+
*/
272+
+ (void)registerLiveActivity:(NSString *)activityAttributes
273+
pushToStartToken:(nullable NSData *)pushToStartToken
274+
completion:(nullable JPUSHLiveActivityTokenCompletion)completion
275+
seq:(NSInteger)seq;
276+
264277
/*!
265278
* @abstract 注册liveActivity并上报其pushToken
266279
* 在pushToken有变化的时候同步调用该接口。

0 commit comments

Comments
 (0)