react-native-image-picker
Advanced tools
Comparing version 0.13.1 to 0.13.2
@@ -7,3 +7,3 @@ { | ||
}, | ||
"version": "0.13.1", | ||
"version": "0.13.2", | ||
"description": "A React Native module that allows you to use the native UIImagePickerController UI to select a photo from the device library or directly from the camera.", | ||
@@ -10,0 +10,0 @@ "author": "Marc Shilling (marcshilling)", |
@@ -9,3 +9,2 @@ # react-native-image-picker | ||
### Android | ||
**Requires Api 11 or higher for Android** | ||
@@ -49,5 +48,3 @@ <img title="Android" src="https://github.com/marcshilling/react-native-image-picker/blob/master/images/android-image.png" width="50%"> | ||
<!-- add following permissions and the min targeted version --> | ||
<uses-sdk | ||
android:minSdkVersion="11"/> | ||
<!-- add following permissions --> | ||
<uses-permission android:name="android.permission.CAMERA" /> | ||
@@ -135,5 +132,6 @@ <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/> | ||
quality: 0.2, // photos only | ||
allowsEditing: false, // Built in iOS functionality to resize/reposition the image | ||
angle: 0, // photos only | ||
allowsEditing: false, // Built in functionality to resize/reposition the image | ||
noData: false, // photos only - disables the base64 `data` field from being generated (greatly improves performance on large photos) | ||
storageOptions: { // if this key is provided, the image will get saved in the documents directory (rather than a temporary directory) | ||
storageOptions: { // if this key is provided, the image will get saved in the documents/pictures directory (rather than a temporary directory) | ||
skipBackup: true, // image will NOT be backed up to icloud | ||
@@ -216,7 +214,8 @@ path: 'images' // will save image at /Documents/images rather than the root | ||
videoQuality | OK | - | ||
angle | - | OK | ||
maxWidth | OK | OK | ||
maxHeight | OK | OK | ||
quality | OK | OK | ||
allowsEditing | OK | - | ||
allowsEditing | OK | OK | ||
noData | OK | OK | ||
storageOptions | OK | - | ||
storageOptions | OK | if this key is provided, the image will get saved in the pictures directory |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
0
25318927
954
152
218