evollu / evollu/react-native-fcm
onMessageReceived not called, when app is in killed state [Android]
- Dominant language
- Java
- Stars
- 1.7k
- Forks
- 661
- PR merge metrics
- No merged PRs in 30d
Description
Hi @evollu
I want when the app is killed(removed from the task manager) and a notification is received. A function is called depending upon the data inside that notification.
How can i achieve this ?
onMessageReceived is called when the app is in foreground or background but not when its completely killed.
"react-native": "0.47.1",
"react-native-fcm": "^8.0.0",
testing on moto g4 play (android 6.0.1);
i am looking for something like the onNotification() method in this [repo](https://github.com/zo0r/react-native-push-notification).
Basically i am looking for a function which is called when a remote or local notification is opened or received
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.