react-native-image-crop-picker icon indicating copy to clipboard operation
react-native-image-crop-picker copied to clipboard

Video selection denied from gallery in Android 10

Open vineelbudedu opened this issue 2 years ago • 3 comments

Version

  • react-native-image-crop-picker v0.32.2?
  • react-native v0.62.2?

Platform

  • Android

Expected behaviour

When I select a video from a gallery it should select the video and navigate back to the app

Actual behaviour

But when selecting video it is throwing an error saying Error not specified

Steps to reproduce

  1. Click to select a video from the gallery
  2. Select a video from the gallery
  3. After selecting the video from the gallery the above-specified error getting

vineelbudedu avatar May 11 '22 11:05 vineelbudedu

For Android 10 , add following lines in AndroidManifest.xml

amithardikar avatar May 17 '22 06:05 amithardikar

For Android 10 , add following lines in AndroidManifest.xml

Where are the lines?

aroshanzamir avatar Jun 23 '22 15:06 aroshanzamir

Open the imagePicker like the following it works perfectly. await ImagePicker.openPicker({ mediaType: 'any', compressVideoPreset: 'HighestQuality' })

aroshanzamir avatar Jun 23 '22 15:06 aroshanzamir