I have a app crash when i\'m picking a image. i\'m using image_picker:0.5.0+7 with any ImageSource it\'s crash the app.
File _fileState;
Future getIm
I found out that in developer mode, phone close main activity of flutter because of an option in developer options this comment from author of package is
On Android, the MainActivity can be killed and restarted after launching the image picker for various of reasons. this can be tested by selecting `don't keep activities alive' option in the developer options in phone's setting app.
then when I disable this option I get result in every device that I checked. link of this description is here. I hope it works for you.