evollu / evollu/react-native-fcm

How to remove notifications from the multiple devices when Notification is clicked.

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

Hi @evollu, we are trying to implement device group PushNotification using react-native-fcm. So far we have successfully delivered Notifications to the multiple devices. These Notifications are delivered using the firebase console. Now when the Notification is sent to the multiple devices.

1. If a user clicks on one notification then the associated notification on the other devices should also get removed.

2. For example: If I send any msgs to my friend in the hangouts. I will get a notification on my mobile as well as on my pc. When my friend chooses to see my msg on pc than the associated notification automatically disables on my mobile.

In order to achieve this, we used direct function FCM.removeAllDeliveredNotifications(); in componentDidMount() But no luck. Am i missing something??

please help us to solve this issue

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.