evollu / evollu/react-native-fcm

> 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?

Open
#1,110 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
1.7k
Forks
661
PR merge metrics
No merged PRs in 30d

Description

> 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 https://github.com/evollu/react-native-fcm/issues/926#issuecomment-482121772_

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the Android background and terminated-app notification flow, then inspect the getInitialNotification() entry point and the callback behavior described in the issue. Done means notification data is available after a notification is tapped when the app was not running, or the limitation is documented if Android does not support it.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, firebase, java, react-native
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.