mirror of
https://github.com/jpush/jpush-phonegap-plugin.git
synced 2026-04-19 00:03:45 +08:00
add new iterface 'isPushStopped' and 'resumePush' for platform iOS
This commit is contained in:
+3
-4
@@ -199,10 +199,9 @@ JPushPlugin.prototype.stopPush = function(){
|
||||
}
|
||||
|
||||
JPushPlugin.prototype.resumePush = function(){
|
||||
if(device.platform == "Android") {
|
||||
data=[]
|
||||
this.call_native("resumePush",data,null);
|
||||
}
|
||||
|
||||
}
|
||||
JPushPlugin.prototype.setDebugMode = function(mode){
|
||||
if(device.platform == "Android") {
|
||||
@@ -224,10 +223,10 @@ JPushPlugin.prototype.setLatestNotificationNum = function(num){
|
||||
}
|
||||
|
||||
JPushPlugin.prototype.isPushStopped = function(callback){
|
||||
if(device.platform == "Android") {
|
||||
|
||||
data=[];
|
||||
this.call_native("isPushStopped",data,callback)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
JPushPlugin.prototype.init = function(){
|
||||
|
||||
Reference in New Issue
Block a user