Open dhcmega opened 6 years ago
you are calling FCM.presentLocalNotification(options);
in the end of notification callback. you don't need to do this.
for android killed: only opens app, with no notif info
, you can either
a. add data
in your options
of FCM.presentLocalNotification(options);
b. use custom notification and remove FCM.presentLocalNotification(options);
@evollu thanks! will test it.
Hi I'm using
RN 0.53.3 FCM 14.0.3
When the app is in foreground I receive double notification, and double alert (alert is part of the app)
I have been testing for days and still cannot find a consistent behavior, mainly because I just don't get it...
Android => foreground: ok, background: ok, killed: only opens app, with no notif info iOS => foreground: DUPLICATED, background: ok, killed: ok
Thanks!!!
App.js
./utils/notifications/index.js