Skip to content
ํ”„๋กœ์ ํŠธ

NitrogenZLab/react-native-multiple-image-picker

GitHub์—์„œ ๋ณด๊ธฐ

์†Œ๊ฐœ

๐Ÿž react-native-multiple-image-picker๋ฅผ ์‚ฌ์šฉํ•˜๋ฉด ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜์—์„œ iOS/Android์˜ ์—ฌ๋Ÿฌ ์Šค๋งˆํŠธ ์•จ๋ฒ”์— ์žˆ๋Š” ์ด๋ฏธ์ง€์™€ ๋™์˜์ƒ์„ ์„ ํƒํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

์ฐฝ์ž‘ ๋ฐ ๋ฏธ๋””์–ด

์ด ์ˆ˜์น˜๋ฅผ ์ธก์ •ํ•˜๋Š” ๋ฐฉ๋ฒ•

What you can do

  • ๐Ÿ• - Crop single/multiple image.
  • ๐ŸŽ‘ - Preview image/video.
  • ๐Ÿ“ธ - Camera module for capturing photos and recording videos.
  • ๐Ÿณ - Keep the previous selection.

์ธก์ •๋œ ์Šคํƒ€ ์ฆ๊ฐ€

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
๊ธฐ๋ก ์ˆ˜์ง‘ ์ค‘

์„œ๋กœ ๊ฒน์น˜๋Š” ๊ธฐ๊ฐ„์˜ ์ˆœ์ฆ๊ฐ€๋Ÿ‰์ด๋ฉฐ ์ผ๋ณ„ ํ•ฉ๊ณ„๊ฐ€ ์•„๋‹™๋‹ˆ๋‹ค. ์ธก์ •๊ฐ’์ด ์—†์œผ๋ฉด ๋น„์›Œ ๋‘ก๋‹ˆ๋‹ค. ์Šคํƒ€๋Š” ๊ด€์‹ฌ๋„๋ฅผ ๋‚˜ํƒ€๋‚ด๋ฉฐ ํ’ˆ์งˆ์„ ๋ณด์žฅํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค.

README.md

Original

Logo

iOS Android Swift Kotlin React-Native

Overview ๐ŸŽ‡

https://github.com/user-attachments/assets/79580bc7-237c-46b7-b92e-1479cc6d9079

React Native Multiple Image Picker (RNMIP) enables application to pick images and videos from multiple smart album in iOS/Android. React Native Multiple Image Picker is based on two libraries available, HXPhotoPicker and PictureSelector

Documentation ๐Ÿ“š

Features ๐Ÿ”ฅ

๐Ÿคฉ Logo
๐Ÿ• Crop single/multiple image.
๐ŸŽ‘ Preview image/video.
๐Ÿ“ธ Camera module for capturing photos and recording videos.
๐Ÿณ Keep the previous selection.
0๏ธโƒฃ Selected order index.
๐ŸŽจ UI Customization (numberOfColumn, spacing, primaryColor ... )
๐ŸŒš Dark Mode, Light Mode
๐ŸŒ„ Choose multiple images/video.
๐Ÿ“ฆ Support smart album (camera roll, selfies, panoramas, favorites, videos...).
๐Ÿ“บ Display video duration.
โ›…๏ธ Support iCloud Photo Library.
๐ŸŒช Scrolling performance. โ˜•๏ธ

Requirements

Because RNMIP uses Nitro Module, it complies with Nitro Modules' requirements. View Nitro Modules' requirements here

  • Xcode 16+
  • iOS 13+
  • react-native 0.75+
  • compileSdkVersion 34+

Installation

See more Installation

Usage

Here is a simple usage of the Multiple Image Picker.
See more Config

import { openPicker, Config } from '@baronha/react-native-multiple-image-picker'

const config: Config = {
  maxSelect: 10,
  maxVideo: 10,
  primaryColor: '#FB9300',
  backgroundDark: '#2f2f2f',
  numberOfColumn: 4,
  mediaType: 'all',
  selectBoxStyle: 'number',
  selectMode: 'multiple',
  language: 'vi', // ๐Ÿ‡ป๐Ÿ‡ณ Vietnamese
  theme: 'dark',
  isHiddenOriginalButton: false,
  primaryColor: '#F6B35D',
}

const onPicker = async () => {
  try {
    const response = await openPicker(config)
    setImages(response)
  } catch (e) {
    // catch error for multiple image picker
  }
}

To Do

  • Crop Image in iOS.
  • Preview Controller for iOS.
  • Handle Permission when limited on iOS.
  • Migrating Library to the New Architecture.
  • Multiple Crop Image.
  • Multiple Preview Image.
  • Dynamic Theme.
  • Dynamic Language
  • Open Crop Controller.
  • Open Preview Controller.
  • Open Camera Controller.

Sponsor & Support โ˜•๏ธ

BuyMeACoffee Kofi

To keep this library maintained and up-to-date please consider sponsoring it on GitHub. Or if you are looking for a private support or help in customizing the experience, then reach out to me on Twitter @_baronha.
Besides, I also built a product using HXPhotoPicker here, Hope you support:

Built With โค๏ธ

NitroModules
HXPhotoPicker
PictureSelector

Star History

Showcase โœจ

List of used applications with @baronha/react-native-multiple-image-picker

Contributions are welcome! If you have an application that uses @baronha/react-native-multiple-image-picker, please open a pull request to add it to the list.

See all Showcase

Performance

We're trying to improve performance. If you have a better solution, please open a issue or pull request. Best regards!

License

MIT
TLPhotoPicker
PictureSelector

๊ด€๋ จ ํ”„๋กœ์ ํŠธ ์‚ดํŽด๋ณด๊ธฐ

๋ถˆ๋Ÿฌ์˜ค๋Š” ์ค‘โ€ฆ