Socket
Socket
Sign inDemoInstall

react-native-image-picker

Package Overview
Dependencies
Maintainers
3
Versions
212
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-image-picker - npm Package Compare versions

Comparing version 0.13.1 to 0.13.2

2

package.json

@@ -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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc