evollu / evollu/react-native-fcm

FCM.onEvent is not called when reopened normally

Open
#1,017 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

It looks like

FCM.on(FCMEvent.Notification, notif => {...} )

is only called when the user presses the notification through the welcome screen or the tray, but not when the app is reopened from the main icon / screen. Is this expected behavior?

I have been incrementing the badges on unread chat messages through this call back but realize that it won't increment it when the user clicks through the normal menu icon.

Is this a bug? If not, is there recommended event to listen to? I can't seem to find one....

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.