You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed this sometimes that if I close the app and restart it, it receives some messages that have already been received previously. The fcm message id is also the same. This happens intermittently.
If it helps, I normally close the app about 10-15 seconds after receiving the FCM message and then restart it.
The text was updated successfully, but these errors were encountered:
suyog-bst
changed the title
Getting duplicate messages when opening app
Getting duplicate messages when opening app [Intermittent]
Apr 25, 2024
Hi @suyog-bst ! Don't know if you looked at the examples, but you need to provide a Storage instance to the FcmClient in order to have persistence of the ids that have already been read, by default the FcmClient uses the MemoryStorage, which only lasts as long as the application is running.
I noticed this sometimes that if I close the app and restart it, it receives some messages that have already been received previously. The fcm message id is also the same. This happens intermittently.
If it helps, I normally close the app about 10-15 seconds after receiving the FCM message and then restart it.
The text was updated successfully, but these errors were encountered: