onNotification is not called when a remote notification is pressed on Android
See original GitHub issueHi,
onNotification
is not get called when i press a notification.
The doc https://github.com/zo0r/react-native-push-notification#usage says that
onNotification
Called when a remote or local notification is opened or received.
This callback is called twice when a notification is received:
1.
{collapse_key: "XX" foreground: true google.delivered_priority: "high" google.message_id: "0:1587387492329033%3a743ff23a743ff2" google.original_priority: "high" google.sent_time: 1587387492305 google.ttl: 2419200 id: "-1393396919" issueId: "XX" notification: body: "XX" sound: "default" tag: "XX" title: "XX" userInteraction: false}
2.
{foreground: true id: "-1409941121" issueId: "XX" message: "XX" title: "XX" userId: "XX" userInteraction: false}
Can anybody help me with this problem?
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:94
Top GitHub Comments
@Dallas62 I opened a new issue since I think the one you mentioned describes a different problem. I hope this is ok.
@Dallas62 of course, I will make it ASAP, and give the report.