mirror of
https://github.com/jpush/jpush-phonegap-plugin.git
synced 2024-10-05 17:12:10 +08:00
ios 更新到jpush5.4.0
This commit is contained in:
parent
71b4bbe93f
commit
679f68c7fd
@ -48,7 +48,7 @@
|
|||||||
<header-file src="src/ios/Plugins/AppDelegate+JPush.h" />
|
<header-file src="src/ios/Plugins/AppDelegate+JPush.h" />
|
||||||
<source-file src="src/ios/Plugins/AppDelegate+JPush.m" />
|
<source-file src="src/ios/Plugins/AppDelegate+JPush.m" />
|
||||||
|
|
||||||
<source-file src="src/ios/lib/jpush-ios-5.2.0.xcframework" framework="true" />
|
<source-file src="src/ios/lib/jpush-ios-5.4.0.xcframework" framework="true" />
|
||||||
<resource-file src="src/ios/JPushConfig.plist" />
|
<resource-file src="src/ios/JPushConfig.plist" />
|
||||||
|
|
||||||
<framework src="CFNetwork.framework" weak="true" />
|
<framework src="CFNetwork.framework" weak="true" />
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
* Copyright (c) 2011 ~ 2017 Shenzhen HXHG. All rights reserved.
|
* Copyright (c) 2011 ~ 2017 Shenzhen HXHG. All rights reserved.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define JPUSH_VERSION_NUMBER 5.2.0
|
#define JPUSH_VERSION_NUMBER 5.4.0
|
||||||
|
|
||||||
#import <Foundation/Foundation.h>
|
#import <Foundation/Foundation.h>
|
||||||
|
|
||||||
@ -175,6 +175,19 @@ typedef NS_ENUM(NSUInteger, JPAuthorizationStatus) {
|
|||||||
|
|
||||||
@end
|
@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 核心头文件
|
* JPush 核心头文件
|
||||||
*/
|
*/
|
||||||
@ -763,6 +776,13 @@ typedef NS_ENUM(NSUInteger, JPAuthorizationStatus) {
|
|||||||
*/
|
*/
|
||||||
+ (void)setLogOFF;
|
+ (void)setLogOFF;
|
||||||
|
|
||||||
|
/*!
|
||||||
|
数据采集控制
|
||||||
|
|
||||||
|
@param control 数据采集配置。
|
||||||
|
*/
|
||||||
|
+ (void)setCollectControl:(JPushCollectControl *)control;
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
* @abstract 设置SDK地理位置权限开关
|
* @abstract 设置SDK地理位置权限开关
|
||||||
*
|
*
|
||||||
@ -779,6 +799,13 @@ typedef NS_ENUM(NSUInteger, JPAuthorizationStatus) {
|
|||||||
*/
|
*/
|
||||||
+ (void)setPushEnable:(BOOL)isEnable completion:(nullable void (^)(NSInteger iResCode))completion;
|
+ (void)setPushEnable:(BOOL)isEnable completion:(nullable void (^)(NSInteger iResCode))completion;
|
||||||
|
|
||||||
|
/*!
|
||||||
|
* @abstract 设置用户分群推送功能开关
|
||||||
|
*
|
||||||
|
* @param isEnable YES:开启,NO:关闭,默认是开启。
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
+ (void)setSmartPushEnable:(BOOL)isEnable;
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
* @abstract 设置应用内提醒消息的代理
|
* @abstract 设置应用内提醒消息的代理
|
@ -0,0 +1,23 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||||
|
<plist version="1.0">
|
||||||
|
<dict>
|
||||||
|
<key>NSPrivacyTrackingDomains</key>
|
||||||
|
<array/>
|
||||||
|
<key>NSPrivacyCollectedDataTypes</key>
|
||||||
|
<array/>
|
||||||
|
<key>NSPrivacyTracking</key>
|
||||||
|
<false/>
|
||||||
|
<key>NSPrivacyAccessedAPITypes</key>
|
||||||
|
<array>
|
||||||
|
<dict>
|
||||||
|
<key>NSPrivacyAccessedAPITypeReasons</key>
|
||||||
|
<array>
|
||||||
|
<string>CA92.1</string>
|
||||||
|
</array>
|
||||||
|
<key>NSPrivacyAccessedAPIType</key>
|
||||||
|
<string>NSPrivacyAccessedAPICategoryUserDefaults</string>
|
||||||
|
</dict>
|
||||||
|
</array>
|
||||||
|
</dict>
|
||||||
|
</plist>
|
Binary file not shown.
@ -9,7 +9,7 @@
|
|||||||
* Copyright (c) 2011 ~ 2017 Shenzhen HXHG. All rights reserved.
|
* Copyright (c) 2011 ~ 2017 Shenzhen HXHG. All rights reserved.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define JPUSH_VERSION_NUMBER 5.2.0
|
#define JPUSH_VERSION_NUMBER 5.4.0
|
||||||
|
|
||||||
#import <Foundation/Foundation.h>
|
#import <Foundation/Foundation.h>
|
||||||
|
|
||||||
@ -175,6 +175,19 @@ typedef NS_ENUM(NSUInteger, JPAuthorizationStatus) {
|
|||||||
|
|
||||||
@end
|
@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 核心头文件
|
* JPush 核心头文件
|
||||||
*/
|
*/
|
||||||
@ -763,6 +776,13 @@ typedef NS_ENUM(NSUInteger, JPAuthorizationStatus) {
|
|||||||
*/
|
*/
|
||||||
+ (void)setLogOFF;
|
+ (void)setLogOFF;
|
||||||
|
|
||||||
|
/*!
|
||||||
|
数据采集控制
|
||||||
|
|
||||||
|
@param control 数据采集配置。
|
||||||
|
*/
|
||||||
|
+ (void)setCollectControl:(JPushCollectControl *)control;
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
* @abstract 设置SDK地理位置权限开关
|
* @abstract 设置SDK地理位置权限开关
|
||||||
*
|
*
|
||||||
@ -779,6 +799,13 @@ typedef NS_ENUM(NSUInteger, JPAuthorizationStatus) {
|
|||||||
*/
|
*/
|
||||||
+ (void)setPushEnable:(BOOL)isEnable completion:(nullable void (^)(NSInteger iResCode))completion;
|
+ (void)setPushEnable:(BOOL)isEnable completion:(nullable void (^)(NSInteger iResCode))completion;
|
||||||
|
|
||||||
|
/*!
|
||||||
|
* @abstract 设置用户分群推送功能开关
|
||||||
|
*
|
||||||
|
* @param isEnable YES:开启,NO:关闭,默认是开启。
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
+ (void)setSmartPushEnable:(BOOL)isEnable;
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
* @abstract 设置应用内提醒消息的代理
|
* @abstract 设置应用内提醒消息的代理
|
@ -0,0 +1,23 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||||
|
<plist version="1.0">
|
||||||
|
<dict>
|
||||||
|
<key>NSPrivacyTrackingDomains</key>
|
||||||
|
<array/>
|
||||||
|
<key>NSPrivacyCollectedDataTypes</key>
|
||||||
|
<array/>
|
||||||
|
<key>NSPrivacyTracking</key>
|
||||||
|
<false/>
|
||||||
|
<key>NSPrivacyAccessedAPITypes</key>
|
||||||
|
<array>
|
||||||
|
<dict>
|
||||||
|
<key>NSPrivacyAccessedAPITypeReasons</key>
|
||||||
|
<array>
|
||||||
|
<string>CA92.1</string>
|
||||||
|
</array>
|
||||||
|
<key>NSPrivacyAccessedAPIType</key>
|
||||||
|
<string>NSPrivacyAccessedAPICategoryUserDefaults</string>
|
||||||
|
</dict>
|
||||||
|
</array>
|
||||||
|
</dict>
|
||||||
|
</plist>
|
Loading…
Reference in New Issue
Block a user