[] Cannot select downloaded video from external sources

Author: opakholisCreated Jun 17, 2025Updated Sep 29, 2026
Labels:bug: Bug

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

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

Source: react-native-image-picker/react-native-image-picker