We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe2c8e7 commit 39653ccCopy full SHA for 39653cc
react-native-android/push_activity.js
@@ -13,7 +13,7 @@ const {
13
NativeModules,
14
ScrollView,
15
StyleSheet,
16
- DeviceEventEmitter
+ DeviceEventEmitter,
17
} = ReactNative;
18
19
import JPushModule from 'jpush-react-native';
@@ -85,6 +85,9 @@ export default class PushActivity extends React.Component {
85
});
86
JPushModule.addReceiveNotificationListener((message) => {
87
console.log("receive notification: " + message);
88
+ });
89
+ JPushModule.addReceiveOpenNotificationListener((map) => {
90
+ console.log("Opening notification!");
91
})
92
}
93
0 commit comments