-
Notifications
You must be signed in to change notification settings - Fork 236
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Notifee notifications do not display for FCM data only message #1157
Comments
I dunno, if you're receiving the FCM and your code is executing but the notification isn't showing you likely have some sort of notification permissions state on the device that is unexpected. You'll want to watch |
If I call notifee displayNotification func outside of setBackgroundMessageHandler callback function, i can see alert appear when the app start time. Seems like can't say that permission issue tho, i have tried same code in emulator and real device. Same behaviour. Do you have any other suggestion to look over? |
I made a suggestion that doesn't seem to have been tried
|
yea I did, for android, Fabric has not been enabled, is that the case not to show notification ?
|
Hello,
Im trying to display Notifee notification for react native app when app is on background or quit state. For this I use FCM data message only.
But notifications are not display on device level even tho data message receive on setBackgroundMessageHandler. Could someone help on this please ?
build.gradle
Packages version
indexj.js code and payload received on setBackgroundMessageHandler as below.
indexj.js
FCM payload received as callback function param
{"data": {"body": "string", "date_time": "1733696313.0459878", "id": "a0c933e4-a847-41c1-950b-cff8a503ca16", "meta_data": "{\"actions\": []}", "title": "string"}, "from": "134145055004", "messageId": "0:1733696313204029%dc9bb158f9fd7ecd", "originalPriority": 1, "priority": 1, "sentTime": 1733696313197, "ttl": 2419200}
FCM server code
AndroidManifest.xml
The text was updated successfully, but these errors were encountered: