evollu / evollu/react-native-fcm

Suppress/prevent notification from being shown

Open
#848 7 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

My app is running in the foreground and I am sending a group notification in group chat using sendToTopic, unfortunately I also receive notification if I add in the chat.

is there any way to suppress or prevent notification from being shown when app is running in foreground?

I tried to use notif.finish from the example but it doesnt work. sample code would be great.

react-native: "0.49.3",
Samsung S8+ Android 7
App running in foreground.

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.