-
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
[flutter_local_notifications] fixed an issue with null schedule mode for older notifications scheduled using periodicallyShow on Android #2076
Conversation
…led using periodicallyShow on Android
Thanks for the fix! I don't know how to test it properly though? |
When you say you don't know how to fix, by that do you mean you don't know how to reproduce these issue or that you don't know how to update your app to point to the branch referenced by this PR? |
Don't know how to reproduce the issue, as it happens for <0.001% of users (with daily notifications). |
Based on the trace you shared before, it indicates to me that you have an app that has used version 1.x of this plugin and calls the |
Oh, interesting. You mean, the users who experience this crash use the app for about 3 years, where it used plugin version <2? That would explain why the exception is so rare. It's a bit hard to roll back the system to a state of 3 years ago, isn't it? I can try to downgrade Flutter etc., checkout an old commit, install the app, and then revert everything, install again and see if the crash happens. But the app calls On a side note, one user reported that he can't cancel a daily notification. His workaround is to disable notifications from the app's |
Yeah it could be quite hard to roll back. May have to simulate by modifying the code so that the JSON representing the notification saved to shared preferences is same as what would get saved from version 1.x
It should but perhaps there are users who haven't started another session?
I'm doubtful as I've seen a correlation between a channel and cancellation. Should be something that can be verified easily though |
…led using periodicallyShow on Android (#2076)
…led using periodicallyShow on Android (#2076)
@nohli FYI this has been released as part of 16.0.0-dev.2, 15.1.1 and 14.1.3 |
Wow thank you so much!! ❤️ |
15.1.1 is not yet available on pub.dev. |
Hmm thought I published it. Perhaps I forgot to hit the button. Hang on |
Ok done now. Got mixed up with when I pushed out 14.1.3+1 |
Great, 15.1.1 is live, thank you again 😊 |
FYI no exceptions with the latest version 🙏🏽 |
Relates to #2033