evollu / evollu/react-native-fcm

getting foreground notification when i tap foreground notification nothing happen android

Open
#1,047 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
1.7k
Forks
661
PR merge metrics
No merged PRs in 30d

Description

```
FCM.presentLocalNotification({
title: notif.title,
body: notif.body,
priority: "high",
data: {
gotoActivity:"email"
key:"value"
} ,
vibrate: 300,
lights: true,
show_in_foreground: true,)

})
```

foreground notification tap but nothing happen in FCM.getInitialNotification()-> console.log()
testing on android

react-native-fcm 16.2.0
android 5.0.1
foregound

when i tap on foregound notification i got message in logcat

removeNotification for unknown key: 0|com.zirtue.app|3355|null|10831
09-18 09:53:29.762 19197-19197/? D/PanelView: There is/are notification(s)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the Android handling for FCM.getInitialNotification and presentLocalNotification, using the provided foreground-notification example and logcat output to trace the tap. Done means tapping a foreground notification produces the expected initial-notification callback or log on Android 5.0.1.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, firebase, react-native
Domain
mobile-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.