-
-
Notifications
You must be signed in to change notification settings - Fork 483
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
android icon - Crash appearing in crashalytics #895
Comments
One thing it might be is this commit: 6c29b4c#diff-c86bb6d0df8057eadc2afad5f1530768eb9e001425e99a9b27ebf71fcfebc79d where the |
Ah, so you mean removing I have a lot of balls in the air, a reason why I haven't focused on this properly yet. It happens to be a very busy time in my app development, There's been several public, beta, and internal releases in the last few weeks, but all app versions have the latest audio service - I had to upgrade because of android 12. #836 Just noticed that this crash has only been reported on versions of the app in internal testing. I have emulators I use during development, but only 2, and I haven't seen any crashes, and I don't think any of these are my type of device. |
Definitely that would be the first thing to try. Is there any other information you can provide about your build process for Android? I assume this is a release build, but how was that release build built? E.g. APK / app bundle, obfuscation, anything special in build.gradle, other gradle or pub dependencies that might transitively depend on conflicting media dependencies, etc. Also reproducing it is important in order to know for sure whether the fixes it. If you want to just try that proposed change and see how it goes, maybe that will be easier for you. |
Edit: happened in public beta |
I still see the dependency in that commit and master? |
Sorry, I think I meant androids.core:core. |
I build with code magic, an app bundle and APK
Ah, ok. I may just add that back and see if I stop seeing errors. |
Haven't been able to replicate - tried same build, same device (browserstack - free open source license), no dice 😬 |
It is a strange one because it appears that the same build is sometimes working and sometimes not. Perhaps this has to do with the way Android libraries are loaded and that maybe they are loaded in different ways at different times. For example, if the entry point is the main activity or if the entry point is from a background trigger. Do you have test cases for each? |
I... don't have test cases I could try a background trigger, but not sure what that means. |
Yes, although I guess that scenario would behave differently pre and post Android 11, so I'm not 100% if it will lead to anything. |
Documented behaviour
MediaControl.androidIcon
Actual behaviour
Crash
Runtime error
Minimal reproduction project
https://github.com/yringler/inside-app
Reproduction steps
N/A
Output of flutter doctor
TODO
Devices exhibiting the bug
Android only
8.0.0 Galaxy S9 (2 times)
9 Pixel 3 (2 times)
11 Pixel 5 (2 times)
10 Galaxy S20 5G (2 times)
The text was updated successfully, but these errors were encountered: