iOS 更新到6.0.0,安卓更新到6.0.1版本。iOS SDK 换成cocoapods集成,安卓 SDK换成marven集成。插件版本改成6.0.1

This commit is contained in:
huangshuni
2026-01-30 15:08:42 +08:00
parent 43a4917f23
commit 263a372663
26 changed files with 304 additions and 2207 deletions
+2
View File
@@ -42,6 +42,8 @@ export declare class JPushOriginal extends IonicNativePlugin {
stopPush(): Promise<any>;
resumePush(): Promise<any>;
isPushStopped(): Promise<any>;
/** 检查推送是否被停止(SDK 6.0+ 推荐),返回 { code: number, isStopped: 0|1 }。isStopped 仅在 code 为 0 时有效 */
getPushStatus(): Promise<{ code: number; isStopped: 0 | 1 }>;
setTags(params: TagOptions): Promise<any>;
addTags(params: TagOptions): Promise<any>;
deleteTags(params: TagOptions): Promise<any>;
+1
View File
@@ -24,6 +24,7 @@ var JPushOriginal = /** @class */ (function (_super) {
JPushOriginal.prototype.stopPush = function () { return cordova(this, "stopPush", {}, arguments); };
JPushOriginal.prototype.resumePush = function () { return cordova(this, "resumePush", {}, arguments); };
JPushOriginal.prototype.isPushStopped = function () { return cordova(this, "isPushStopped", {}, arguments); };
JPushOriginal.prototype.getPushStatus = function () { return cordova(this, "getPushStatus", {}, arguments); };
JPushOriginal.prototype.setTags = function (params) { return cordova(this, "setTags", {}, arguments); };
JPushOriginal.prototype.addTags = function (params) { return cordova(this, "addTags", {}, arguments); };
JPushOriginal.prototype.deleteTags = function (params) { return cordova(this, "deleteTags", {}, arguments); };
+2
View File
@@ -42,6 +42,8 @@ export declare class JPush extends IonicNativePlugin {
stopPush(): Promise<any>;
resumePush(): Promise<any>;
isPushStopped(): Promise<any>;
/** isStopped 仅在 code 为 0 时有效 */
getPushStatus(): Promise<{ code: number; isStopped: 0 | 1 }>;
setTags(params: TagOptions): Promise<any>;
addTags(params: TagOptions): Promise<any>;
deleteTags(params: TagOptions): Promise<any>;
+1
View File
@@ -42,6 +42,7 @@ var JPush = /** @class */ (function (_super) {
JPush.prototype.stopPush = function () { return cordova(this, "stopPush", {}, arguments); };
JPush.prototype.resumePush = function () { return cordova(this, "resumePush", {}, arguments); };
JPush.prototype.isPushStopped = function () { return cordova(this, "isPushStopped", {}, arguments); };
JPush.prototype.getPushStatus = function () { return cordova(this, "getPushStatus", {}, arguments); };
JPush.prototype.setTags = function (params) { return cordova(this, "setTags", {}, arguments); };
JPush.prototype.addTags = function (params) { return cordova(this, "addTags", {}, arguments); };
JPush.prototype.deleteTags = function (params) { return cordova(this, "deleteTags", {}, arguments); };