mirror of
https://github.com/jpush/jpush-phonegap-plugin.git
synced 2025-01-19 22:55:02 +08:00
iOS - update SDK 2.1.8
1.更新 iOS SDK 2.1.8
This commit is contained in:
parent
c615f8255e
commit
3369072687
@ -33,7 +33,7 @@
|
||||
<source-file src="src/ios/Plugins/JPushPlugin.m"/>
|
||||
|
||||
<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"/>
|
||||
<source-file src="src/ios/Plugins/AppDelegate+JPush.m"/>
|
||||
<resource-file src="src/ios/PushConfig.plist" />
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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 <Foundation/Foundation.h>
|
||||
|
||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user