wix / react-native-notifications

React Native Notifications
MIT License
3.25k stars 765 forks source link

registerNotificationOpened is not called when app is in foreground. #1008

Open mohitharshan123 opened 1 year ago

mohitharshan123 commented 1 year ago

I want to trigger a function when the notification is clicked when the app is running in foreground

luca-tomasetti commented 11 months ago

I had the same problem with an Android app, I stopped using this package and moved to this one: https://notifee.app/

SethArchambault commented 5 months ago

Notifee doesn't really provide anything for receiving push notifications though right? Looks like they recommend using Firebase Cloud Messaging: https://notifee.app/react-native/docs/integrations/fcm

luca-tomasetti commented 5 months ago

@SethArchambault yes, you are correct. I'm using Notifee together with FIrebase Cloud Messaging.