mirror of
https://github.com/jpush/jpush-phonegap-plugin.git
synced 2025-01-19 22:55:02 +08:00
iOS - update
1.fix a bug
This commit is contained in:
parent
b96e36d6aa
commit
abfcd3c93a
@ -54,6 +54,7 @@
|
|||||||
|
|
||||||
-(void)initial:(CDVInvokedUrlCommand*)command{
|
-(void)initial:(CDVInvokedUrlCommand*)command{
|
||||||
//do nithng,because Cordova plugin use lazy load mode.
|
//do nithng,because Cordova plugin use lazy load mode.
|
||||||
|
SharedJPushPlugin = self;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef __CORDOVA_4_0_0
|
#ifdef __CORDOVA_4_0_0
|
||||||
@ -69,6 +70,7 @@
|
|||||||
NSLog(@"### initWithWebView ");
|
NSLog(@"### initWithWebView ");
|
||||||
if (self=[super initWithWebView:theWebView]) {
|
if (self=[super initWithWebView:theWebView]) {
|
||||||
}
|
}
|
||||||
|
SharedJPushPlugin = self;
|
||||||
return self;
|
return self;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user