evollu / evollu/react-native-fcm

How do I read the message from the push notification?

Open
#691 6 comments 3 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
1.7k
Forks
661
PR merge metrics
No merged PRs in 30d

Description

I am using this below function to know wther the app is open from tray or the launcher

```
FCM.getInitialNotification().then(notif => {
console.log("getInitialNotification", notif)
});
```

I want to read the message of the push notification once the user click on it, but in the payload I doesn't contain any messages.

![screen shot 2017-12-13 at 12 24 14](https://user-images.githubusercontent.com/20811009/33926868-d7cdce26-e005-11e7-899f-8efd48ae011a.png)

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.