mirror of
https://github.com/jpush/jpush-phonegap-plugin.git
synced 2025-05-06 10:22:56 +08:00
Merge branch 'dev'
This commit is contained in:
commit
c2f1bc86bf
@ -1,3 +1,4 @@
|
|||||||
|
|
||||||
//
|
//
|
||||||
// PushTalkPlugin.m
|
// PushTalkPlugin.m
|
||||||
// PushTalk
|
// PushTalk
|
||||||
@ -55,6 +56,10 @@
|
|||||||
-(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;
|
SharedJPushPlugin = self;
|
||||||
|
[[NSNotificationCenter defaultCenter] addObserver:self
|
||||||
|
selector:@selector(networkDidReceiveMessage:)
|
||||||
|
name:kJPFNetworkDidReceiveMessageNotification
|
||||||
|
object:nil];
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef __CORDOVA_4_0_0
|
#ifdef __CORDOVA_4_0_0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user