react-native-cameraroll-image-picker
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "react-native-cameraroll-image-picker", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"scripts": { | ||
@@ -5,0 +5,0 @@ "build": "rimraf dist && tsc && yarn copy-files", |
# `react-native-cameraroll-image-picker` | ||
![Supports Android and iOS][supported-os-badge] | ||
![MIT License][license-badge] | ||
[![Lean Core Badge][lean-core-badge]][lean-core-issue] | ||
Image Picker with cameraroll | ||
https://user-images.githubusercontent.com/47880048/174566194-e25ac508-bc4e-4543-aa4e-275d2c8d229b.mp4 | ||
## Getting started | ||
`$ npm install @react-native-community/cameraroll --save` | ||
`$ npm install react-native-cameraroll-image-picker --save && npx pod-install` | ||
@@ -15,2 +20,15 @@ | ||
ios/Podfile | ||
``` | ||
target 'routine' do | ||
config = use_native_modules! | ||
permissions_path = '../node_modules/react-native-permissions/ios' | ||
pod 'Permission-PhotoLibrary', :path => "#{permissions_path}/PhotoLibrary/Permission-PhotoLibrary.podspec" | ||
... | ||
``` | ||
The user's permission is required in order to access the Camera Roll on devices running iOS 10 or later. Add the `NSPhotoLibraryUsageDescription` key in your `Info.plist` with a string that describes how your app will use this data. This key will appear as `Privacy - Photo Library Usage Description` in Xcode. | ||
@@ -17,0 +35,0 @@ |
43213
224