Please provide the following:
- SDK Version: 48 (but was present before)
- Platforms(Android/iOS/web/all): Android
Hi,
When I use the ImagePicker’s launchImageLibraryAsync
- something like:
const options: ImagePickerOptions = {
mediaTypes: ImagePicker.MediaTypeOptions.Images,
allowsEditing: true,
quality: 1,
base64: true,
allowsMultipleSelection: false,
};
let result: ImagePicker.ImagePickerResult = await ImagePicker.launchImageLibraryAsync(options);
I am presented with the usual android’s photo-taking UI. After I take the picture, I am given the choice to confirm or cancel the taken picture (before being taken to the crop/edit view).
Often, the confirmation screen does not seem to respond to key presses correctly - I have to tap the “v” button multiple times, sometimes wait a few seconds before the image is actually accepted. I have tried to do a minimal reproducible example, however when I do the same in a new app (exact same setup, libraries etc. - but I deleted everything except for the code to launch the image picker) it seems to react much more reliably. I’m confused, since the way the image picker is launched is identical in both cases. Any idea what could cause this behavior?