修正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
+1 -1
View File
@@ -18,7 +18,7 @@ public class MyReceiver extends BroadcastReceiver {
if (JPushInterface.ACTION_REGISTRATION_ID.equals(intent.getAction())) {
}else if (JPushInterface.ACTION_UNREGISTER.equals(intent.getAction())){
// }else if (JPushInterface.ACTION_UNREGISTER.equals(intent.getAction())){
} else if (JPushInterface.ACTION_MESSAGE_RECEIVED.equals(intent.getAction())) {
handlingReceivedMessage(intent);
+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) {
+1 -1
View File
@@ -4,7 +4,7 @@
//
// Created by JPush on 12-8-15.
// Copyright (c) 2012年 HXHG. All rights reserved.
// Version: 1.8.3
// Version: 1.8.8
@class CLRegion;
@class UILocalNotification;