react-native-fcm icon indicating copy to clipboard operation
react-native-fcm copied to clipboard

Notification sent from Firebase not displayed in pop-up / but arrived in console.log

Open stefandbd opened this issue 6 years ago • 2 comments

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

stefandbd avatar Nov 13 '18 08:11 stefandbd

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?

stefandbd avatar Nov 13 '18 16:11 stefandbd

Try register channel https://github.com/evollu/react-native-fcm/blob/master/Examples/simple-fcm-client/app/App.js#L38

WidgetPMT avatar May 21 '19 01:05 WidgetPMT