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

[🐛] can't pick a video from the gallery iOS

Open Mohamedghaly140 opened this issue 1 year ago • 7 comments

Description

can't pick a video in ios from the gallery

Explain the bug in as much detail as possible can't pick a video in ios from the gallery I get a warning in the console can't find the image even I picked a video from the gallery, not image

How to repeat issue and example

  • step to reproduce the issue
  • open launchImageLibrary with mediaType: 'mixed'
  • pick a video

Additional Information

issue 789 Screenshot 2023-10-16 at 12 35 43 PM

  • Image Picker version: [7.0.1]
  • React Native version: [0.72.6]
  • Platform: [iOS]
  • Development Operating System: [developing on MacOS]
  • Dev tools: [Xcode v15.0.0, iOS 17, Android SDK version 33]

Mohamedghaly140 avatar Oct 16 '23 09:10 Mohamedghaly140

Any solution?

gustavolsilvano avatar Oct 30 '23 18:10 gustavolsilvano

@gustavolsilvano use this one instead image-crop-picker

Mohamedghaly140 avatar Oct 30 '23 19:10 Mohamedghaly140

Are you using the launchImageLibrary function? Mediatype needs to be set to "mixed"

josh-thompson13 avatar Nov 01 '23 02:11 josh-thompson13

I am getting nil on url for some videos

Capture d’écran 2023-11-02 à 17 10 03

charlyBerthet avatar Nov 02 '23 16:11 charlyBerthet

Getting the same issue when videos are auto-saved from the WhatsApp app. The response for the video file comes as jpg. Even thought the mediaType: 'video'

Dimasik911 avatar Dec 01 '23 10:12 Dimasik911

Yeah, having the same thing starting from ios v17.0.3 If the video is autosaved from whatsapp - can't pick up the video.

Yabko avatar Dec 07 '23 16:12 Yabko

This issue seems related to #2251

itsmesaskovic avatar Jan 23 '24 08:01 itsmesaskovic