React Native Image Picker screenshot

React Native Image Picker

Updated: 4 May 2025
8627 Stars

:sunrise_over_mountains: A React Native module that allows you to use native UI to select media from the device library or directly from the camera.

Categories

Overview

react-native-image-picker is a React Native module that enables users to select a photo/video from the device library or directly from the camera.

Features

  • Select from Library: Choose a photo or video from the device library.
  • Capture with Camera: Capture a new photo or video using the device camera.
  • Customizable Options: Various options available for image/video selection like media type, max width/height, video quality, and duration limit.

Installation

To install the theme, follow these steps:

  1. Set newArchEnabled to true inside android/gradle.properties for the new architecture.
  2. For the old architecture (Pre-Fabric), ensure no additional setup is required.
  3. Add appropriate keys to your Info.plist in iOS based on the selection requirement.
  4. For Android, no additional permissions are required, except for saveToPhotos, which may need permission check.

Summary

The react-native-image-picker module is a convenient solution for selecting or capturing photos/videos in a React Native application. With features like library selection, camera capture, and customizable options, developers can seamlessly integrate this module into their projects, offering a smooth user experience. Ensure to follow the installation guide for a hassle-free setup.