Socket
Socket
Sign inDemoInstall

react-native-photo-selector

Package Overview
Dependencies
10
Maintainers
1
Versions
70
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-photo-selector

A React Native component providing images selection from camera roll


Version published
Maintainers
1
Weekly downloads
6

Weekly downloads

Readme

Source

react-native-photo-selector v3.x.x

CameraRoll Picker component for React native

v2.x.x is still available

DEMO

:arrow_forward: usecamera(option)

:heavy_plus_sign: Add to Project

$ npm i react-native-camera react-native-fast-image @react-native-community/cameraroll@git+https://github.com/skqksh/react-native-cameraroll.git
$ npm i react-native-photo-selector@latest

:bulb: Basic Usage

import PhotoSelector, { PhotoProps } from 'react-native-photo-selector';

...
const Demo = () => {
    const _callback = (images: PhotoProps[], image: PhotoProps) => {
        console.log('selected images :', images);
        console.log('current image :', image);
    };

    return <PhotoSelector callback={_callback} />
}

:wrench: Props (* : required)

:eyes: View props detail

:calling: Run Example

:exclamation: To run the example app, you have to check the permissions of the app

$ git clone https://github.com/skqksh/react-native-photo-selector.git
$ cd react-native-photo-selector
$ cd example
$ npm install
$ (ios) cd ios
$ (ios) pod install
$ (ios) pod update SDWebImage
$ npm run android / npm run ios

Update Log

:eyes: View update history

Known Issue

  • (IOS) Could count recent album only under 100

:star: ETC

Keywords

FAQs

Last updated on 24 Sep 2020

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc