I'm using multi_image_picker to allow picking images in my Flutter app.
I've noticed odd behavior when I download an image and store in the Download
folder of the device, and the following things happen:
- After I download an image, I trigger the image picker (by running
MultiImagePicker.pickImages
). - Image Picker doesn't show the image, which is odd since I've downloaded the image.
- I'm navigating to the Android Files app and I do find the image.
- Restarting my app and navigating again to the Image Picker, but still - image not exists.
- Opening Google Photos app and after a second the image appears.
- Navigating back to my app -> Image Picker, and then I see the image.
I know it sounds odd. I have no idea how or why it happens. I'm using Flutter 1.10.3 and a fresh Android API 28 emulator. I ran the app in an Android Q too and the results are the same.