react-native-fcm
react-native-fcm copied to clipboard
Notification sent from Firebase not displayed in pop-up / but arrived in console.log
Hey guys,
I'm using the same code from your project to try it out. Sending a notification from firebase console (a normal one), I can see the logs in console.log but no popup displayed.
- Checked the permissions of the emualtor (Pixel 2_XL) ; notifications are allowed.
- Show Local Notifications button displayes a popup.
- "react-native": "0.57.4", "react-native-fcm": "^16.2.4",
- App both foreground and background.
Any ideas what the issue can be?
Thanks
UPDATE: Working only when the app is on background. But the notification does not popup like it should, just appears in the top bar.
- Tested on device; same behaviour.
Am i missing any particular setting?
Try register channel https://github.com/evollu/react-native-fcm/blob/master/Examples/simple-fcm-client/app/App.js#L38