evollu / react-native-fcm

react native module for firebase cloud messaging and local notification

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

> If you are setting data together with notification. Data will be ignored in Android when the app is in the background. Is this what you are expecting?

Sumit-Chakole opened this issue · comments

If you are setting data together with notification. Data will be ignored in Android when the app is in the background. Is this what you are expecting?

I get notification data when app is running (in callback) but when app is not running and notification arrives, it shown in notification drawer but data is not received in getInitialNotification() method when clicked on notification.

Originally posted by @Sumit-Chakole in #926 (comment)