Overview
The React Native Multiple Image Picker is a library that allows applications to select images and videos from various smart albums in iOS and Android, reminiscent of the functionality found in the Facebook app. It is built on two existing libraries, TLPhotoPicker and PictureSelector, and offers features such as the ability to save selected images for later, choose multiple images/videos, support for various smart albums, display of video duration, image/video preview, and more.
Features
- Save selected image status for later session
- Choose multiple images/video
- Support smart album (camera roll, selfies, panoramas, favorites, videos…)
- Selected order index
- Display video duration
- Preview image/video
- Support iCloud Photo Library
- Crop image (new)
- Crop image circle for Avatar (new)
- Scrolling performance
- Playback video and live photos (for iOS)
Installation
iOS
To install the React Native Multiple Image Picker library on iOS, ensure to include the Privacy Description in info.plist and add the .swift file in your project along with creating a bridging header file swift. If encountering an error in Xcode 12 during installation, a workaround involves modifying the Library Search Paths setting by changing “swift-5.0” to “swift-5.3” within the Xcode project.
Summary
The React Native Multiple Image Picker is a versatile library enabling apps to seamlessly select multiple images and videos from various smart albums in iOS and Android, offering additional features like image cropping, iCloud Photo Library support, and improved scrolling performance. Installation on iOS may require adjustments in Xcode due to potential compatibility issues with Xcode versions like Xcode 12.