evollu / evollu/react-native-fcm

iOS : notifications appears twice

Open
#981 7 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

Hi,
I'm not sure if it's a issue due to the lib or if it's a iOS normal behavior....
1- I'm sending a notification to the iOS device.
2- When the notification arrives, I click on it immediately and it opens the app.
3- The app is open but I can see again the toast with the notification.

But, with the #2 if I'm waiting 3-4s before to click on the notification, the app is opening but I can't see again the notification.

It's like there is 2 concurrents thread : if I click on the notification it's starting a new thread with the app opening but the thread "notification received" is not finish and this is why I can see the notification again... It's a supposition...
What do you think about ?

Thank you

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the two notification timing cases described in the issue: opening immediately versus waiting 3–4 seconds. Trace the iOS notification receipt and app-opening flow to determine why the toast appears twice, then verify that the notification is shown only once in both cases.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.