evollu / evollu/react-native-fcm
unregistering Receiver on LocalBroadcastManager
Open
- 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.