mirror of
https://github.com/jpush/jpush-phonegap-plugin.git
synced 2026-04-19 00:03:45 +08:00
修正iOS 接口 isPushStopped 的返回值,使stop 返回 1,非stop 返回 0
This commit is contained in:
@@ -109,9 +109,9 @@ static NSDictionary *_luanchOptions=nil;
|
||||
|
||||
NSNumber *result;
|
||||
if ([[UIApplication sharedApplication] isRegisteredForRemoteNotifications ]) {
|
||||
result=@(1);
|
||||
}else{
|
||||
result=@(0);
|
||||
}else{
|
||||
result=@(1);
|
||||
}
|
||||
CDVPluginResult * pushResult=[self pluginResultForValue:result];
|
||||
if (pushResult) {
|
||||
|
||||
Reference in New Issue
Block a user