-
Notifications
You must be signed in to change notification settings - Fork 4k
[FIREBASE_MESSAGING] Setting onBackgroundMessage
causes crash (Android)
#174
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
Labels
type: bug
Something isn't working
Comments
I have exactly the same issue. Looking for a solution. |
Also have this exact issue. |
have same issue |
Related issue: |
I have the same issue. Seems to kick in on flutter 1.9. Worked on 1.7. |
Also have this issue on 1.7. |
Same issue
|
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Describe the bug
following the readme on how to setup handling background messages with fcm ex: fcm.configure(...);
adding
onBackgroundMessage: myBackgroundMessageHandler
crashes applicationcommenting out that line and everything works fine.
followed all steps. added
Application.Java
, changed manifest, added top level dart function formyBackgroundMessageHandler
Additional context
The text was updated successfully, but these errors were encountered: