diff --git a/plugin.xml b/plugin.xml
index 14d42c6..0aadf88 100644
--- a/plugin.xml
+++ b/plugin.xml
@@ -31,7 +31,7 @@
-
+
diff --git a/src/ios/Plugins/JPushPlugin.m b/src/ios/Plugins/JPushPlugin.m
index c24ce44..f0098c3 100644
--- a/src/ios/Plugins/JPushPlugin.m
+++ b/src/ios/Plugins/JPushPlugin.m
@@ -52,7 +52,7 @@ static NSDictionary *_launchOptions = nil;
}else{
result = @(1);
}
- [self hanleResultWithValue:result command:command];
+ [self handleResultWithValue:result command:command];
}
-(void)initial:(CDVInvokedUrlCommand*)command{
@@ -153,7 +153,7 @@ static NSDictionary *_launchOptions = nil;
-(void)getRegistrationID:(CDVInvokedUrlCommand*)command{
NSString* registrationID = [JPUSHService registrationID];
NSLog(@"### getRegistrationID %@",registrationID);
- [self hanleResultWithValue:registrationID command:command];
+ [self handleResultWithValue:registrationID command:command];
}
-(void)startLogPageView:(CDVInvokedUrlCommand*)command{
@@ -222,7 +222,7 @@ static NSDictionary *_launchOptions = nil;
-(void)getApplicationIconBadgeNumber:(CDVInvokedUrlCommand *)command {
NSInteger num = [UIApplication sharedApplication].applicationIconBadgeNumber;
NSNumber *number = [NSNumber numberWithInteger:num];
- [self hanleResultWithValue:number command:command];
+ [self handleResultWithValue:number command:command];
}
-(void)setDebugModeFromIos:(CDVInvokedUrlCommand*)command{
@@ -298,7 +298,7 @@ static NSDictionary *_launchOptions = nil;
}
#pragma mark 将参数返回给js
--(void)hanleResultWithValue:(id)value command:(CDVInvokedUrlCommand*)command{
+-(void)handleResultWithValue:(id)value command:(CDVInvokedUrlCommand*)command{
CDVPluginResult *result = nil;
CDVCommandStatus status = CDVCommandStatus_OK;
diff --git a/src/ios/lib/JPUSHService.h b/src/ios/lib/JPUSHService.h
index b0aeae7..968a700 100755
--- a/src/ios/lib/JPUSHService.h
+++ b/src/ios/lib/JPUSHService.h
@@ -9,7 +9,7 @@
* Copyright (c) 2011 ~ 2015 Shenzhen HXHG. All rights reserved.
*/
-#define JPUSH_VERSION_NUMBER 2.1.7
+#define JPUSH_VERSION_NUMBER 2.1.8
#import
diff --git a/src/ios/lib/jpush-ios-2.1.7.a b/src/ios/lib/jpush-ios-2.1.8.a
similarity index 85%
rename from src/ios/lib/jpush-ios-2.1.7.a
rename to src/ios/lib/jpush-ios-2.1.8.a
index 9d312e0..3a34c19 100644
Binary files a/src/ios/lib/jpush-ios-2.1.7.a and b/src/ios/lib/jpush-ios-2.1.8.a differ