Skip to content

Commit c3535ea

Browse files
committed
fix custom message bug
1 parent aad9844 commit c3535ea

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

ios/RCTJPushModule/RCTJPushModule/RCTJPushModule.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ - (void)networkDidLogin:(NSNotification *)notification {
101101

102102
- (void)networkDidReceiveMessage:(NSNotification *)notification {
103103
[self.bridge.eventDispatcher sendAppEventWithName:@"networkDidReceiveMessage"
104-
body:notification];
104+
body:[notification userInfo]];
105105
}
106106

107107
- (void)receiveRemoteNotification:(NSNotification *)notification {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "jpush-react-native",
3-
"version": "1.1.7",
3+
"version": "1.1.8",
44
"description": "a jpush plugin for react native application",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)