mirror of
https://github.com/jpush/jpush-phonegap-plugin.git
synced 2025-03-04 05:42:51 +08:00
Merge branch 'dev'
This commit is contained in:
commit
c2f1bc86bf
@ -1,3 +1,4 @@
|
||||
|
||||
//
|
||||
// PushTalkPlugin.m
|
||||
// PushTalk
|
||||
@ -55,6 +56,10 @@
|
||||
-(void)initial:(CDVInvokedUrlCommand*)command{
|
||||
//do nithng,because Cordova plugin use lazy load mode.
|
||||
SharedJPushPlugin = self;
|
||||
[[NSNotificationCenter defaultCenter] addObserver:self
|
||||
selector:@selector(networkDidReceiveMessage:)
|
||||
name:kJPFNetworkDidReceiveMessageNotification
|
||||
object:nil];
|
||||
}
|
||||
|
||||
#ifdef __CORDOVA_4_0_0
|
||||
|
Loading…
Reference in New Issue
Block a user