Firebase cloud messaging shows notification in React native app only on app opening #7218
Unanswered
toscalivia83
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I'm using FCM to display my notifications and these notifications are displayed on my iPhone 7 only when I open the application...
See below the code I'm using where I've defined the messaging().setBackgroundMessageHandler function
In the logs of the scheduledLogs function used in Cloud functions, I can see that the notifications has well been sent at 9.05am. However I've seen this notification only at around 11.50am when I opened my app...
And I'm using this function within the Google Cloud Scheduler:
Can you see any reason why this is behaving this way?
Thanks in advance for your help
Marion
Beta Was this translation helpful? Give feedback.
All reactions