Simplify media selection, cropping, and camera functionality in your Flutter app. Choose images/videos from the library, crop images, and capture new photos/videos with ease.
In iOS, "openPicker" future not completed when swipe to close modal instead of tab "Cancel" or "Done" button. I try to check response on ".whenComplete" and ".then" and there is no response and future not completed. Unless i set timeout.
I try to check your code and it look look like shouldDismissPhotoPicker not work. Instead, I set picker.isModalInPresentation = true inside private func openPicker. But it work start from iOS 13 and above.
In iOS, "openPicker" future not completed when swipe to close modal instead of tab "Cancel" or "Done" button. I try to check response on ".whenComplete" and ".then" and there is no response and future not completed. Unless i set timeout.