evollu / react-native-fcm

react native module for firebase cloud messaging and local notification
MIT License
1.73k stars 681 forks source link

In iOS , when a remote notification is sent, FCMEvent is not called in some cases. #1019

Open elad823 opened 5 years ago

elad823 commented 5 years ago

In iOS , when a remote notification is sent, FCMEvent is not called in the following cases:

1) When the app is closed. 2) When the app is in background state, the event is called only once with the last notifictaion data.

I need to save the notifications data in regardless to the user action on the notification. Means to save the data before the user clicked on the notification if any.