'expo Image-Picker No video option on launchCameraAsync({mediaTypes: ImagePicker.MediaTypeOptions.All}) on Android devices

There is an issue in expo image-picker when I launch the device camera with:

launchCameraAsync({mediaTypes: ImagePicker.MediaTypeOptions.All})

It doesn't give me the video record option just the still image option on Android devices, but it does so on iOS devices.

What I want is a way to allow the user to take photos and videos from the camera preview on both iOS and Android.

Camera preview

Thanks in advance for the help.



Solution 1:[1]

you can check this

 await ImagePicker({
        mediaTypes: ImagePicker.MediaTypeOptions.Videos,
        allowsEditing: true,
        quality: 1,
        aspect: [16, 9],
      });

reference issue

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Arunabh Verma