evollu / evollu/react-native-fcm

how to i can access data from notif.fcm when app in background.

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

Description

Sorry if my ENG is not good.

i have web service for control send notificaton , when i send data from webservice i call notification and i can acess data notif.fcm.body , notif.title .... etc . But if app in background notif is not show in console.log.
How can i console.log when app background or can say can't for my problem .

I read in README have Note :
// NOTE: if you want to handle notifications when app is closed, put another handler outside of component lifecycle because components won't be initialized.

if then thing above is true .... i can handle when app close ...

please give me a solution .

@evollu

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.