Skip to content

Commit

Permalink
fix custom message bug
Browse files Browse the repository at this point in the history
  • Loading branch information
huangminlinux committed Oct 17, 2016
1 parent aad9844 commit c3535ea
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
Binary file not shown.
2 changes: 1 addition & 1 deletion ios/RCTJPushModule/RCTJPushModule/RCTJPushModule.m
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ - (void)networkDidLogin:(NSNotification *)notification {

- (void)networkDidReceiveMessage:(NSNotification *)notification {
[self.bridge.eventDispatcher sendAppEventWithName:@"networkDidReceiveMessage"
body:notification];
body:[notification userInfo]];
}

- (void)receiveRemoteNotification:(NSNotification *)notification {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jpush-react-native",
"version": "1.1.7",
"version": "1.1.8",
"description": "a jpush plugin for react native application",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit c3535ea

Please sign in to comment.