5.8.0: android 5.8.0 ios:5.7.0

This commit is contained in:
weiry
2025-07-22 15:00:53 +08:00
parent 795242e0c9
commit cac2944516
10 changed files with 43 additions and 5 deletions

View File

@@ -2,7 +2,7 @@
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="jpush-phonegap-plugin"
version="5.7.0">
version="5.8.0">
<name>JPush</name>
<description>JPush for cordova plugin</description>
@@ -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.6.0.xcframework" framework="true" />
<source-file src="src/ios/lib/jpush-ios-5.7.0.xcframework" framework="true" />
<resource-file src="src/ios/JPushConfig.plist" />
<framework src="CFNetwork.framework" weak="true" />
@@ -244,7 +244,7 @@
android:writePermission="${applicationId}.permission.JPUSH_MESSAGE" />
</config-file>
<lib-file src="src/android/libs/jpush-android-5.7.0.jar" />
<lib-file src="src/android/libs/jpush-android-5.8.0.jar" />
<source-file src="src/android/PushService.java" target-dir="src/cn/jiguang/cordova/push" />
<source-file src="src/android/JPushPlugin.java" target-dir="src/cn/jiguang/cordova/push" />

Binary file not shown.

View File

@@ -9,7 +9,7 @@
* Copyright (c) 2011 ~ 2017 Shenzhen HXHG. All rights reserved.
*/
#define JPUSH_VERSION_NUMBER 5.6.0
#define JPUSH_VERSION_NUMBER 5.7.0
#import <Foundation/Foundation.h>
@@ -796,6 +796,16 @@ typedef NS_ENUM(NSUInteger, JPAuthorizationStatus) {
*/
+ (void)setCollectControl:(JPushCollectControl *)control;
/*!
* @abstract
*
* @param interval , [30,290]
*
* @discussion
*
*/
+ (void)setHeartBeatTimeInterval:(NSInteger)interval;
/*!
* @abstract SDK地理位置权限开关
*
@@ -820,6 +830,15 @@ typedef NS_ENUM(NSUInteger, JPAuthorizationStatus) {
*/
+ (void)setSmartPushEnable:(BOOL)isEnable;
/*!
* @abstract
*
* @param isEnable YES:NO:
*
*/
+ (void)setDataInsightsEnable:(BOOL)isEnable;
/*!
* @abstract
*

View File

@@ -9,7 +9,7 @@
* Copyright (c) 2011 ~ 2017 Shenzhen HXHG. All rights reserved.
*/
#define JPUSH_VERSION_NUMBER 5.6.0
#define JPUSH_VERSION_NUMBER 5.7.0
#import <Foundation/Foundation.h>
@@ -796,6 +796,16 @@ typedef NS_ENUM(NSUInteger, JPAuthorizationStatus) {
*/
+ (void)setCollectControl:(JPushCollectControl *)control;
/*!
* @abstract
*
* @param interval , [30,290]
*
* @discussion
*
*/
+ (void)setHeartBeatTimeInterval:(NSInteger)interval;
/*!
* @abstract SDK地理位置权限开关
*
@@ -820,6 +830,15 @@ typedef NS_ENUM(NSUInteger, JPAuthorizationStatus) {
*/
+ (void)setSmartPushEnable:(BOOL)isEnable;
/*!
* @abstract
*
* @param isEnable YES:NO:
*
*/
+ (void)setDataInsightsEnable:(BOOL)isEnable;
/*!
* @abstract
*