diff --git a/plugin.xml b/plugin.xml
index 8abab10..bad3973 100644
--- a/plugin.xml
+++ b/plugin.xml
@@ -29,7 +29,7 @@
-
+
@@ -154,10 +154,10 @@
-
-
-
-
+
+
+
+
diff --git a/src/android/MyReceiver.java b/src/android/MyReceiver.java
index 2eff5d9..d36b1fb 100644
--- a/src/android/MyReceiver.java
+++ b/src/android/MyReceiver.java
@@ -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);
diff --git a/src/ios/Plugins/JPushPlugin.m b/src/ios/Plugins/JPushPlugin.m
index 6d1435b..a2573eb 100644
--- a/src/ios/Plugins/JPushPlugin.m
+++ b/src/ios/Plugins/JPushPlugin.m
@@ -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) {
diff --git a/src/ios/lib/APService.h b/src/ios/lib/APService.h
index bd529c3..ae2e6d7 100644
--- a/src/ios/lib/APService.h
+++ b/src/ios/lib/APService.h
@@ -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;