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

[🐛] Cannot select downloaded video from external sources

Open opakholis opened this issue 6 months ago • 2 comments

Description

When attempting to select a video that has been downloaded to an Android device (specifically from external sources like Pixabay), launchImageLibrary sometimes fails with an others error. This error doesn't occur for all downloaded videos, but specifically for certain files.

An error is returned:

{
    "errorMessage": "For input string: \"9223372036854775807\"",
    "errorCode": "others"
}

How to repeat issue and example

  • Download a video from this link: https://pixabay.com/videos/tenderness-cute-fondness-father-253998/.
  • Use launchImageLibrary to open the gallery.
  • Attempt to select the downloaded video.

Solution

The downloaded video should be selectable, and launchImageLibrary should return the video information successfully.

Additional Information

  • Image Picker version: 8.2.1
  • React Native version: 0.79.1
  • Platform: Android
  • Development Operating System: MacOS

opakholis avatar Jun 17 '25 02:06 opakholis

Same problem here.

Image Picker version: 8.2.1 React Native version: 0.76.9 Platform: Android Development Operating System: MacOS

LeandroRibeiroo avatar Jun 23 '25 21:06 LeandroRibeiroo

same problem

Image Picker version: 8.2.1 React Native version: 0.78.0 Platform: Android Development Operating System: MacOS

AtomicBridge avatar Aug 07 '25 09:08 AtomicBridge