mirror of
https://github.com/jpush/jpush-phonegap-plugin.git
synced 2026-05-08 00:02:05 +08:00
iOS 更新到6.0.0,安卓更新到6.0.1版本。iOS SDK 换成cocoapods集成,安卓 SDK换成marven集成。插件版本改成6.0.1
This commit is contained in:
Vendored
+2
@@ -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>;
|
||||
|
||||
@@ -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); };
|
||||
|
||||
Vendored
+2
@@ -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>;
|
||||
|
||||
@@ -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); };
|
||||
|
||||
Reference in New Issue
Block a user