-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
🔥 [🐛] Bug Report Title - No task registered for key ReactNativeFirebaseMessagingHeadlessTask #7598
Comments
Hello 👋, to help manage issues we automatically close stale issues. This issue has been automatically marked as stale because it has not had activity for quite some time.Has this issue been fixed, or does it still require attention?
Thank you for your contributions. |
I am having the same issue on android |
i have same issue on android |
same |
Same |
I suspect that this has something to do with expo router and the startup sequence. Is anyone here also using the file based router of expo and has the issue? |
same problem here.
Also do not work in Android quited app.
It would be a big problem for us. |
same |
1 similar comment
same |
same problem flease fix this |
i am facing same issue. |
Has anyone fixed this error? |
it it still there |
hey you fixed this or not!! |
same |
same issue |
For me, it only worked this way: only after I placed everything in the root of the app. If you put it inside a hook, you'll get this warning. |
With or without expo file based routing? |
I've been using React Native for almost 7 years and have never used Expo. |
Issue
I'm currently using Expo v49 with firebase cloud messaging API V1 but can't put background push notifications working on the quitted state for
Android
.We have two situations for
setBackgroundMessageHandler
to trigger on Android:The first one works properly, but the last one does not work. It gives me this error:
No task registered for key ReactNativeFirebaseMessagingHeadlessTask
Can you help me please?
Project Files
Javascript
Click To Expand
_layout.tsx
:Environment
Click To Expand
react-native info
output:18.7.3
TypeScript
?Yes - 5.1.3
React Native Firebase
andInvertase
on Twitter for updates on the library.The text was updated successfully, but these errors were encountered: