iOS - update

1.fix a bug
This commit is contained in:
pikacode 2016-12-08 15:31:13 +08:00
parent b96e36d6aa
commit abfcd3c93a

View File

@ -54,6 +54,7 @@
-(void)initial:(CDVInvokedUrlCommand*)command{
//do nithng,because Cordova plugin use lazy load mode.
SharedJPushPlugin = self;
}
#ifdef __CORDOVA_4_0_0
@ -69,6 +70,7 @@
NSLog(@"### initWithWebView ");
if (self=[super initWithWebView:theWebView]) {
}
SharedJPushPlugin = self;
return self;
}