evollu / evollu/react-native-fcm

FCM.on(FCMEvent.Notification, async (notif) not working on Android

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

Hi,
I got an issue on my Android project for this code ` FCM.on(FCMEvent.Notification, async (notif)`. On my iOS this code works when I trigger to send a notification from Firebase Notification. (I'm using RN 0.49)
```
this.notificationListener = FCM.on(FCMEvent.Notification, async (notif) => {
console.log(notif);
});
```
but for Android, no data logs reading from this part. are there any new code for this one?

I tried all function codes available but I didn't get any result like the one I need.

thanks,

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.