evollu / evollu/react-native-fcm

Receive notification data when I click the notification when the application is not running

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

When my application run on background or foreground , if i click the notification , I can take to notification datas. But, If I click the notification When application doesn't run , I can take notifacation datas. How can i take datas when my application doesn't run.

This function works when notification is received while the application is running , but if application is not running , this function not running

```
FCM.on(FCMEvent.Notification, notif => {

console.log("Notification is received", notif);

});
```

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.