-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
NullPointerException when notifications are received on Android #1387
Comments
Thanks for reporting this. Not sure why this didn't appear when I was previously testing. Will release a new version with the fix soon |
I've published 9.1.2 that should fix this issue. Could you give this a spin and let me know how it goes? |
Hey @MaikuB Just tested the new version. Didn't crash. I think it's fixed! Thanks for the quick PR and the awesome work! |
Good Morning, it may or may not be related, but even after upgrading to 9.1.2 I am getting the occasional error below reported under the same name/issue in Crashlytics:
|
@mk-dev-1 can you provide steps to reproduce that issue. I don't see how that can be possible in 9.1.2 given there are null checks in the code to prevent that from happening. Looks more like something that could've happen with 9.1.1 |
At this point I can‘t, but I have not changed anything in my implementation other than upgrading to the latest version of the plugin. At first I thought it was just errors reported late to Crashlytics and therefore being allocated to the wrong app version, but I can see the numbers slowly creeping updwards. There is also a new issue open on this - got to decide whether to continue here or at #1397 … |
Describe the bug
Whenever the app receives a notification, the app crashes and the follow error is printed in the console.
To Reproduce
Expected behavior
It should not crash
Sample code to reproduce the problem
The issue is replicated in the example app
Flutter doctor result
The text was updated successfully, but these errors were encountered: