-
Notifications
You must be signed in to change notification settings - Fork 4k
[firebase_messaging] Got some errors after adding onBackgroundMessage handler. #1641
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
Comments
Ok, i will check |
Okay, i created new project, without any plugin ( except firebase_messaging ), and this error still here. |
Hi @koteezy |
Hello @iapicca ! Android manifest
Verbose logs
After crash logs
|
Hey @koteezy I'm reviewing open issues, is this still a problem for you? - thanks! |
Hi, i will check this, and let you know |
Hey @koteezy. We need more information to resolve this issue but there hasn't been an update in 7 weekdays. I'm marking the issue as stale and if there are no new updates in the next 7 days I will close it automatically. If you have more information that will help us get to the bottom of this, just add a comment! |
Since there haven't been any recent updates here, I am going to close this issue. @koteezy if you're still experiencing this problem and want to continue the discussion just leave a comment here and we are happy to re-open this. |
Describe the bug

If I try to use in the application onBackgroundMessage, after a few saves, and hot reload, I start to get errors like these, and it becomes simply impossible to work further. In addition, if you use onBackgroundMessage, the inappwebview stops working normaly.
(Without BGhandler, there's no items in call stack. No even one, and everything works fine)
I'll trying add initialization on top of all, trying inside initState, inside build context, the result is always the same - if BGhandler specified, then i got these errors.
To Reproduce
1 - Install plugin
2 - Add Application.java class, and specify it in AndroidManifest.xml
3 - Add background message handler to your app.
Versions
Flutter doctor
The text was updated successfully, but these errors were encountered: