wix / react-native-notifications

React Native Notifications
MIT License
3.23k stars 763 forks source link

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

Open mohitharshan123 opened 11 months ago

mohitharshan123 commented 11 months ago

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

luca-tomasetti commented 9 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 3 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 3 months ago

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