Replies: 1 comment 1 reply
-
We have it documented here - set a handler https://rnfirebase.io/messaging/usage#background--quit-state-messages |
Beta Was this translation helpful? Give feedback.
1 reply
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.
-
Issue
Hi,
The method getInitialNotification() fired on background state and it returns a warning
"No background message handler has been set. Set a handler via the "setBackgroundMessageHandler" method."
And on quit state it returns null and a warning
No task registered for key ReactNativeFirebaseMessagingHeadlessTask
Any solution please ?
Thanks in advance.
Javascript
Click To Expand
android/build.gradle
:package.json
:Environment
:My code
:Beta Was this translation helpful? Give feedback.
All reactions