evollu / evollu/react-native-fcm

unregistering Receiver on LocalBroadcastManager

Open
#939 3 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

1. RN -0.52 , react-native-fcm - 11.3.1
2. Using android emulator and nexus 5 with 7.1.1
3. background and foreground

Awesome project @evollu 🥇 Kudos for your efforts 👍

Thought this might not be an issue but might be a reason for receiving push notifications twice in some cases. Please clarify.
In the file FIRMessagingModule.java, registerMessageHandler() method, we are registering receiver on react context and not unregistering when app is unmounted.
Can we create a @ReactMethod and call it to unregister the receiver from a higher order js component?

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.