修正iOS 接口 isPushStopped 的返回值,使stop 返回 1,非stop 返回 0

This commit is contained in:
darkterrorooo
2015-11-26 13:10:58 +08:00
parent 32d3ecc917
commit c2818fb193
4 changed files with 9 additions and 9 deletions
+2 -2
View File
@@ -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) {