evollu / evollu/react-native-fcm
getInitialNotification is called on every dev "Reload" after opening a notification
- Dominant language
- Java
- Stars
- 1.7k
- Forks
- 661
- PR merge metrics
- No merged PRs in 30d
Description
react-native : 55.1
react-native-fcm: 16.1.0
whenever i open the app from notification (wether the app had been in background or not Running) and then reloading the app in dev mode the `getInitialNotification` is called and this brings bugs to me in dev mode since based on the notification i navigate user to a screen.(by react-native-router-flux) after opening the notification whenever i press Reload (to refresh the app) `getInitialNotification` is called with the same notification object. i've tried `removeAllDeliveredNotification` but it didn't fix the problem. it is in both ios and android
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the behavior described around getInitialNotification after opening a notification, then using the dev "Reload" on both iOS and Android. Compare the notification object returned after reload with the initial launch behavior; done means reload no longer reprocesses the same notification unexpectedly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- firebase, react-native
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100