-
Notifications
You must be signed in to change notification settings - Fork 90
[Bug] Android postNotification
might crashes the app with exceptions
#163
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
IllegalArgumentException
on specific XiaoMi devicesIllegalArgumentException
on specific devices crashes the app
It's hard to say for sure, because of specific device issue. But here are some thoughts. |
Could we catch this exception without crashing the app? |
Sure, but it's Android 12, which is confusing.
We have microphone and media foreground services. call is restricted for apps other than clocks and phone call managers, so we didn't specify that. |
As for the exception, it went away after the user changed the sound of that notification channel. What a surprise... |
IllegalArgumentException
on specific devices crashes the apppostNotification
might crashes the app with exceptions
It's really surprising. Glad, the issue is gone for now. |
We've received a couple of crashes caused by the post notification action on specific XiaoMi devices. I'm trying to figure out the root cause.
Version Info
Flutter: 3.27.4
connectycube_flutter_call_kit: 2.8.0
Device: Xiaomi Civi (Android 12)
Permissions (part of) in our
AndroidManifest.xml
:Exceptions will cause the app to crash. An expected behavior is not crashing the app and reporting the exception in the channel result.
The text was updated successfully, but these errors were encountered: