Issue
I am trying to select gif files using expo-image-picker. However, it doesn’t select the gif file in android, it selects the first frame of the gif even when quality
is set to undefined
and allowsEditing
to false
.
Version of expo – 46.0.9
, Version of expo-image-picker – 13.3.1
. Here’s a reproducible demo – snack demo
Expected behavior on android:
Actual behavior on android:
Solution
I had this issue myself and found a solution.
let result = await ImagePicker.launchImageLibraryAsync({
mediaTypes: ImagePicker.MediaTypeOptions.Images,
// allowsEditing: false,
// aspect: aspect,
quality: 1,
// exif: false
});
Answered By – YaBoiHex
Answer Checked By – Candace Johnson (FlutterFixes Volunteer)