diff --git a/plugin.xml b/plugin.xml index 4f47bb1..d9819a6 100644 --- a/plugin.xml +++ b/plugin.xml @@ -48,7 +48,7 @@ - + diff --git a/src/ios/lib/jpush-ios-5.2.0.xcframework/Info.plist b/src/ios/lib/jpush-ios-5.4.0.xcframework/Info.plist similarity index 100% rename from src/ios/lib/jpush-ios-5.2.0.xcframework/Info.plist rename to src/ios/lib/jpush-ios-5.4.0.xcframework/Info.plist diff --git a/src/ios/lib/jpush-ios-5.2.0.xcframework/ios-arm64/Headers/JPUSHService.h b/src/ios/lib/jpush-ios-5.4.0.xcframework/ios-arm64/Headers/JPUSHService.h similarity index 97% rename from src/ios/lib/jpush-ios-5.2.0.xcframework/ios-arm64/Headers/JPUSHService.h rename to src/ios/lib/jpush-ios-5.4.0.xcframework/ios-arm64/Headers/JPUSHService.h index 8a590a4..af526b6 100644 --- a/src/ios/lib/jpush-ios-5.2.0.xcframework/ios-arm64/Headers/JPUSHService.h +++ b/src/ios/lib/jpush-ios-5.4.0.xcframework/ios-arm64/Headers/JPUSHService.h @@ -9,7 +9,7 @@ * Copyright (c) 2011 ~ 2017 Shenzhen HXHG. All rights reserved. */ -#define JPUSH_VERSION_NUMBER 5.2.0 +#define JPUSH_VERSION_NUMBER 5.4.0 #import @@ -175,6 +175,19 @@ typedef NS_ENUM(NSUInteger, JPAuthorizationStatus) { @end +@interface JPushCollectControl : NSObject + +/* ssid SSID信息。设置为NO,不采集SSID信息。默认为YES。 */ +@property (nonatomic, assign) BOOL ssid; +/* bssid BSSID信息。设置为NO,不采集BSSID信息。默认为YES。 */ +@property (nonatomic, assign) BOOL bssid; +/* cell 基站信息。设置为NO,不采集基站信息。默认为YES。*/ +@property (nonatomic, assign) BOOL cell; +/* gps 经纬度信息。设置为NO,不采集经纬度信息。默认为YES。 */ +@property (nonatomic, assign) BOOL gps; + +@end + /*! * JPush 核心头文件 */ @@ -763,6 +776,13 @@ typedef NS_ENUM(NSUInteger, JPAuthorizationStatus) { */ + (void)setLogOFF; +/*! + 数据采集控制 + + @param control 数据采集配置。 + */ ++ (void)setCollectControl:(JPushCollectControl *)control; + /*! * @abstract 设置SDK地理位置权限开关 * @@ -779,6 +799,13 @@ typedef NS_ENUM(NSUInteger, JPAuthorizationStatus) { */ + (void)setPushEnable:(BOOL)isEnable completion:(nullable void (^)(NSInteger iResCode))completion; +/*! + * @abstract 设置用户分群推送功能开关 + * + * @param isEnable YES:开启,NO:关闭,默认是开启。 + * + */ ++ (void)setSmartPushEnable:(BOOL)isEnable; /*! * @abstract 设置应用内提醒消息的代理 diff --git a/src/ios/lib/jpush-ios-5.4.0.xcframework/ios-arm64/PrivacyInfo.xcprivacy b/src/ios/lib/jpush-ios-5.4.0.xcframework/ios-arm64/PrivacyInfo.xcprivacy new file mode 100644 index 0000000..e2920ec --- /dev/null +++ b/src/ios/lib/jpush-ios-5.4.0.xcframework/ios-arm64/PrivacyInfo.xcprivacy @@ -0,0 +1,23 @@ + + + + + NSPrivacyTrackingDomains + + NSPrivacyCollectedDataTypes + + NSPrivacyTracking + + NSPrivacyAccessedAPITypes + + + NSPrivacyAccessedAPITypeReasons + + CA92.1 + + NSPrivacyAccessedAPIType + NSPrivacyAccessedAPICategoryUserDefaults + + + + diff --git a/src/ios/lib/jpush-ios-5.2.0.xcframework/ios-arm64/libJPush.a b/src/ios/lib/jpush-ios-5.4.0.xcframework/ios-arm64/libJPush.a similarity index 86% rename from src/ios/lib/jpush-ios-5.2.0.xcframework/ios-arm64/libJPush.a rename to src/ios/lib/jpush-ios-5.4.0.xcframework/ios-arm64/libJPush.a index e9838b8..b3a25c4 100644 Binary files a/src/ios/lib/jpush-ios-5.2.0.xcframework/ios-arm64/libJPush.a and b/src/ios/lib/jpush-ios-5.4.0.xcframework/ios-arm64/libJPush.a differ diff --git a/src/ios/lib/jpush-ios-5.2.0.xcframework/ios-arm64_x86_64-simulator/Headers/JPUSHService.h b/src/ios/lib/jpush-ios-5.4.0.xcframework/ios-arm64_x86_64-simulator/Headers/JPUSHService.h similarity index 97% rename from src/ios/lib/jpush-ios-5.2.0.xcframework/ios-arm64_x86_64-simulator/Headers/JPUSHService.h rename to src/ios/lib/jpush-ios-5.4.0.xcframework/ios-arm64_x86_64-simulator/Headers/JPUSHService.h index 8a590a4..af526b6 100644 --- a/src/ios/lib/jpush-ios-5.2.0.xcframework/ios-arm64_x86_64-simulator/Headers/JPUSHService.h +++ b/src/ios/lib/jpush-ios-5.4.0.xcframework/ios-arm64_x86_64-simulator/Headers/JPUSHService.h @@ -9,7 +9,7 @@ * Copyright (c) 2011 ~ 2017 Shenzhen HXHG. All rights reserved. */ -#define JPUSH_VERSION_NUMBER 5.2.0 +#define JPUSH_VERSION_NUMBER 5.4.0 #import @@ -175,6 +175,19 @@ typedef NS_ENUM(NSUInteger, JPAuthorizationStatus) { @end +@interface JPushCollectControl : NSObject + +/* ssid SSID信息。设置为NO,不采集SSID信息。默认为YES。 */ +@property (nonatomic, assign) BOOL ssid; +/* bssid BSSID信息。设置为NO,不采集BSSID信息。默认为YES。 */ +@property (nonatomic, assign) BOOL bssid; +/* cell 基站信息。设置为NO,不采集基站信息。默认为YES。*/ +@property (nonatomic, assign) BOOL cell; +/* gps 经纬度信息。设置为NO,不采集经纬度信息。默认为YES。 */ +@property (nonatomic, assign) BOOL gps; + +@end + /*! * JPush 核心头文件 */ @@ -763,6 +776,13 @@ typedef NS_ENUM(NSUInteger, JPAuthorizationStatus) { */ + (void)setLogOFF; +/*! + 数据采集控制 + + @param control 数据采集配置。 + */ ++ (void)setCollectControl:(JPushCollectControl *)control; + /*! * @abstract 设置SDK地理位置权限开关 * @@ -779,6 +799,13 @@ typedef NS_ENUM(NSUInteger, JPAuthorizationStatus) { */ + (void)setPushEnable:(BOOL)isEnable completion:(nullable void (^)(NSInteger iResCode))completion; +/*! + * @abstract 设置用户分群推送功能开关 + * + * @param isEnable YES:开启,NO:关闭,默认是开启。 + * + */ ++ (void)setSmartPushEnable:(BOOL)isEnable; /*! * @abstract 设置应用内提醒消息的代理 diff --git a/src/ios/lib/jpush-ios-5.4.0.xcframework/ios-arm64_x86_64-simulator/PrivacyInfo.xcprivacy b/src/ios/lib/jpush-ios-5.4.0.xcframework/ios-arm64_x86_64-simulator/PrivacyInfo.xcprivacy new file mode 100644 index 0000000..e2920ec --- /dev/null +++ b/src/ios/lib/jpush-ios-5.4.0.xcframework/ios-arm64_x86_64-simulator/PrivacyInfo.xcprivacy @@ -0,0 +1,23 @@ + + + + + NSPrivacyTrackingDomains + + NSPrivacyCollectedDataTypes + + NSPrivacyTracking + + NSPrivacyAccessedAPITypes + + + NSPrivacyAccessedAPITypeReasons + + CA92.1 + + NSPrivacyAccessedAPIType + NSPrivacyAccessedAPICategoryUserDefaults + + + + diff --git a/src/ios/lib/jpush-ios-5.2.0.xcframework/ios-arm64_x86_64-simulator/libJPush.a b/src/ios/lib/jpush-ios-5.4.0.xcframework/ios-arm64_x86_64-simulator/libJPush.a similarity index 60% rename from src/ios/lib/jpush-ios-5.2.0.xcframework/ios-arm64_x86_64-simulator/libJPush.a rename to src/ios/lib/jpush-ios-5.4.0.xcframework/ios-arm64_x86_64-simulator/libJPush.a index ad0ba57..f784c7a 100644 Binary files a/src/ios/lib/jpush-ios-5.2.0.xcframework/ios-arm64_x86_64-simulator/libJPush.a and b/src/ios/lib/jpush-ios-5.4.0.xcframework/ios-arm64_x86_64-simulator/libJPush.a differ