mirror of
https://github.com/jpush/jpush-phonegap-plugin.git
synced 2026-04-19 00:03:45 +08:00
添加了ios 停止推送的js接口
This commit is contained in:
+2
-4
@@ -180,10 +180,8 @@ JPushPlugin.prototype.setCustomPushNotificationBuilder = function(){
|
||||
}
|
||||
|
||||
JPushPlugin.prototype.stopPush = function(){
|
||||
if(device.platform == "Android") {
|
||||
data=[];
|
||||
this.call_native("stopPush",data,null);
|
||||
}
|
||||
data=[];
|
||||
this.call_native("stopPush",data,null);
|
||||
}
|
||||
|
||||
JPushPlugin.prototype.resumePush = function(){
|
||||
|
||||
Reference in New Issue
Block a user