
Product
Announcing Socket Fix 2.0
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
react-native-photo-selector
Advanced tools
A React Native component providing images selection from camera roll
CameraRoll Picker component for React native
$ npm i react-native-camera react-native-fast-image @react-native-community/cameraroll@git+https://github.com/skqksh/react-native-cameraroll.git
:exclamation: about : @react-native-community/cameraroll@git+https://github.com/skqksh/react-native-cameraroll.git
Install component through npm
$ npm i react-native-photo-selector@latest
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} />
}
: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
FAQs
A React Native component providing images selection from camera roll
We found that react-native-photo-selector demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
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.
Product
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
Security News
Socket CEO Feross Aboukhadijeh joins Risky Business Weekly to unpack recent npm phishing attacks, their limited impact, and the risks if attackers get smarter.
Product
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.