-
Notifications
You must be signed in to change notification settings - Fork 626
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
NPE crash on Android when Don't keep activities is enabled #402
Comments
Thank you @DEMndz5. Will take a look as soon as I can. |
D/FilePickerDelegate(11711): Selected type / 遇到了类似的问题,需要怎么解决呢?导致app闪退 |
Fixed with 2.0.5 (even though this is unlikely to happen aside debugging purposes). Thank you for reporting. 👍 |
Thank you. Does this update stop the app from crashing and return the picked file(s)? Or only the former? A few users left some negative reviews complaining about the app crashing after picking the file and I thought this crash might be related. I noticed most of the complains were from Huawei users and searching online I found this page talking about how Huawei kills background activities from apps that aren't whitelisted. |
@DEMndz5 this will prevent the app crash if the activity is killed but won’t load the file as it will be lost on the way. The only thing that would make it possible here would be saving the state (overriding |
Understood. |
Describe the bug
The app crashes on Android after picking a file when Don't keep activities under the Developer Options menu is enabled.
It happened on multiple emulators and on my physical device.
Issue details
Error Log
Flutter Version details
Additional context
I found this issue while trying to reproduce this issue: #397
The text was updated successfully, but these errors were encountered: