zo0r / react-native-push-notification

React Native Local and Remote Notifications
MIT License
6.75k stars 2.05k forks source link

Hello, I would like to call a function when the use click to a notification I have looked in the other issues to answer this question. And I have seen many responses to this subject. I need to use PushNotification.configure as well as onNotification: function The problem and when I use this function I get the following error: Default FirebaseApp is not initialized in this process I only use local notifications so I don't have to install firebase. Is there a way to call a function when the user clicks on a notification without using firebase? Thank you #2409

Open sounder717 opened 5 months ago

sounder717 commented 5 months ago

Bug

Environment info

react-native info output:

 // paste it here

Library version: x.x.x

Steps To Reproduce

1. 2. ...

Describe what you expected to happen:

1. 2.

Reproducible sample code

erenkulaksiz commented 5 months ago

Damn thats a loooong title.

hakizimana-fred commented 3 months ago

I'm facing the same issue, did you ever find a fix?