Navigate:
React Native Image Picker
~$NIP0.0%

react-native-image-picker: Native media selection for React Native

Cross-platform native media picker bridge for React Native.

LIVE RANKINGS • 12:28 PM • STEADY
OVERALL
#430
6
MOBILE & DESKTOP
#41
2
30 DAY RANKING TREND
ovr#430
·Mobil#41
STARS
8.6K
FORKS
2.1K
7D STARS
+2
7D FORKS
+1
See Repo:
Share:

Learn more about React Native Image Picker

react-native-image-picker is a React Native bridge library that exposes native image and video selection interfaces to JavaScript. It implements platform-specific bindings for iOS and Android, delegating to UIImagePickerController on iOS and the AndroidX Photo Picker on Android. The library supports multiple media types, image resizing, and MIME type filtering with configurable options. Common use cases include building user profile photo uploads, media attachment features in messaging apps, and content creation interfaces.

React Native Image Picker

1

Native UI integration

Uses platform-native pickers rather than custom implementations, providing UIImagePickerController on iOS and AndroidX Photo Picker on Android. This ensures consistent behavior with system conventions and access to device-specific capabilities.

2

New Architecture support

Includes explicit support for React Native's new architecture with Fabric and TurboModules, allowing adoption of modern React Native patterns alongside pre-Fabric compatibility.

3

Flexible API design

Supports both callback and promise-based patterns for media selection, allowing integration with async/await code or traditional callback workflows. Includes options for media type filtering, image resizing, and MIME type restrictions.


import { launchImageLibrary } from 'react-native-image-picker';

const selectProfilePhoto = async () => {
  const result = await launchImageLibrary({
    mediaType: 'photo',
    quality: 0.8
  });
  
  if (!result.didCancel && result.assets) {
    const photoUri = result.assets[0].uri;
    // Upload photoUri to server
  }
};

vv8.2.1

Added stopCamera function to properly release media stream resources on web platform.

  • Added stopCamera function to properly release media stream resources on web
vv8.2.0

Added support for specifying allowed MIME types on Android platform.

  • Added ability to specify a list of allowed mime-types on Android
vv8.1.0

Added support for converting HEIF images to JPEG format.

  • Added support for converting image/heif to jpeg


[ EXPLORE MORE ]

Related Repositories

Discover similar tools and frameworks used by developers