react-native-image-picker
react-native-image-picker copied to clipboard
[🐛] can't pick a video from the gallery iOS
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
- 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]
Any solution?
@gustavolsilvano use this one instead image-crop-picker
Are you using the launchImageLibrary function? Mediatype needs to be set to "mixed"
I am getting nil
on url for some videos
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'
Yeah, having the same thing starting from ios v17.0.3 If the video is autosaved from whatsapp - can't pick up the video.
This issue seems related to #2251