iOS - update SDK 2.1.8

1.更新 iOS SDK 2.1.8
This commit is contained in:
E.B 2016-07-01 10:34:49 +08:00
parent c615f8255e
commit 3369072687
4 changed files with 6 additions and 6 deletions

View File

@ -33,7 +33,7 @@
<source-file src="src/ios/Plugins/JPushPlugin.m"/> <source-file src="src/ios/Plugins/JPushPlugin.m"/>
<header-file src="src/ios/lib/JPUSHService.h" /> <header-file src="src/ios/lib/JPUSHService.h" />
<source-file src="src/ios/lib/jpush-ios-2.1.7.a" framework="true" /> <source-file src="src/ios/lib/jpush-ios-2.1.8.a" framework="true" />
<header-file src="src/ios/Plugins/AppDelegate+JPush.h"/> <header-file src="src/ios/Plugins/AppDelegate+JPush.h"/>
<source-file src="src/ios/Plugins/AppDelegate+JPush.m"/> <source-file src="src/ios/Plugins/AppDelegate+JPush.m"/>
<resource-file src="src/ios/PushConfig.plist" /> <resource-file src="src/ios/PushConfig.plist" />

View File

@ -52,7 +52,7 @@ static NSDictionary *_launchOptions = nil;
}else{ }else{
result = @(1); result = @(1);
} }
[self hanleResultWithValue:result command:command]; [self handleResultWithValue:result command:command];
} }
-(void)initial:(CDVInvokedUrlCommand*)command{ -(void)initial:(CDVInvokedUrlCommand*)command{
@ -153,7 +153,7 @@ static NSDictionary *_launchOptions = nil;
-(void)getRegistrationID:(CDVInvokedUrlCommand*)command{ -(void)getRegistrationID:(CDVInvokedUrlCommand*)command{
NSString* registrationID = [JPUSHService registrationID]; NSString* registrationID = [JPUSHService registrationID];
NSLog(@"### getRegistrationID %@",registrationID); NSLog(@"### getRegistrationID %@",registrationID);
[self hanleResultWithValue:registrationID command:command]; [self handleResultWithValue:registrationID command:command];
} }
-(void)startLogPageView:(CDVInvokedUrlCommand*)command{ -(void)startLogPageView:(CDVInvokedUrlCommand*)command{
@ -222,7 +222,7 @@ static NSDictionary *_launchOptions = nil;
-(void)getApplicationIconBadgeNumber:(CDVInvokedUrlCommand *)command { -(void)getApplicationIconBadgeNumber:(CDVInvokedUrlCommand *)command {
NSInteger num = [UIApplication sharedApplication].applicationIconBadgeNumber; NSInteger num = [UIApplication sharedApplication].applicationIconBadgeNumber;
NSNumber *number = [NSNumber numberWithInteger:num]; NSNumber *number = [NSNumber numberWithInteger:num];
[self hanleResultWithValue:number command:command]; [self handleResultWithValue:number command:command];
} }
-(void)setDebugModeFromIos:(CDVInvokedUrlCommand*)command{ -(void)setDebugModeFromIos:(CDVInvokedUrlCommand*)command{
@ -298,7 +298,7 @@ static NSDictionary *_launchOptions = nil;
} }
#pragma mark js #pragma mark js
-(void)hanleResultWithValue:(id)value command:(CDVInvokedUrlCommand*)command{ -(void)handleResultWithValue:(id)value command:(CDVInvokedUrlCommand*)command{
CDVPluginResult *result = nil; CDVPluginResult *result = nil;
CDVCommandStatus status = CDVCommandStatus_OK; CDVCommandStatus status = CDVCommandStatus_OK;

View File

@ -9,7 +9,7 @@
* Copyright (c) 2011 ~ 2015 Shenzhen HXHG. All rights reserved. * Copyright (c) 2011 ~ 2015 Shenzhen HXHG. All rights reserved.
*/ */
#define JPUSH_VERSION_NUMBER 2.1.7 #define JPUSH_VERSION_NUMBER 2.1.8
#import <Foundation/Foundation.h> #import <Foundation/Foundation.h>