demo add openNotification receiveNotification receiveMessage code

This commit is contained in:
zhangqinghe
2015-04-14 14:47:57 +08:00
parent 2510289d95
commit 7545a948bd
2 changed files with 66 additions and 30 deletions
+3
View File
@@ -296,8 +296,11 @@ static NSDictionary *_luanchOptions=nil;
dispatch_async(dispatch_get_main_queue(), ^{
[self.commandDelegate evalJs:[NSString stringWithFormat:@"cordova.fireDocumentEvent('jpush.receiveMessage',%@)",jsonString]];
[self.commandDelegate evalJs:[NSString stringWithFormat:@"window.plugins.jPushPlugin.receiveMessageIniOSCallback('%@')",jsonString]];
});
}