Skip to content

Commit

Permalink
iOS 更新到jpush550
Browse files Browse the repository at this point in the history
  • Loading branch information
huangshuni committed Jan 16, 2025
1 parent e4d4c00 commit daff0ba
Show file tree
Hide file tree
Showing 8 changed files with 32 additions and 6 deletions.
8 changes: 4 additions & 4 deletions ios/RCTJPushModule.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

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

/* Begin PBXCopyFilesBuildPhase section */
Expand All @@ -27,18 +27,18 @@
/* Begin PBXFileReference section */
5C103CA5236041E7000AD3DA /* RCTJPushEventQueue.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RCTJPushEventQueue.h; sourceTree = "<group>"; };
5C103CA6236041E7000AD3DA /* RCTJPushEventQueue.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RCTJPushEventQueue.m; sourceTree = "<group>"; };
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>"; };
624386D31E096B8800F69E07 /* RCTJPushModule.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RCTJPushModule.h; sourceTree = "<group>"; };
624386D41E096B8800F69E07 /* RCTJPushModule.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RCTJPushModule.m; sourceTree = "<group>"; };
6280980A1CEDC407000D3A81 /* libRCTJPushModule.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libRCTJPushModule.a; sourceTree = BUILT_PRODUCTS_DIR; };
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>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
628098071CEDC407000D3A81 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
623F02B02BDA15F70041AD17 /* jpush-ios-5.3.0.xcframework in Frameworks */,
6283FF562D390E45003A8199 /* jpush-ios-5.5.0.xcframework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand All @@ -48,7 +48,7 @@
5CF8E647231E3A9200B12200 /* Frameworks */ = {
isa = PBXGroup;
children = (
623F02AF2BDA15F70041AD17 /* jpush-ios-5.3.0.xcframework */,
6283FF552D390E45003A8199 /* jpush-ios-5.5.0.xcframework */,
);
name = Frameworks;
sourceTree = "<group>";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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>

Expand Down Expand Up @@ -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有变化的时候同步调用该接口。
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -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>

Expand Down Expand Up @@ -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有变化的时候同步调用该接口。
Expand Down
Binary file not shown.

0 comments on commit daff0ba

Please sign in to comment.