Socket
Socket
Sign inDemoInstall

react-native-new-image-picker

Package Overview
Dependencies
0
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.5 to 0.1.6

9

index.js

@@ -47,3 +47,3 @@ import {

.then(res => {
if (res.length == 1) {
if (!options.multiple&&res.length==1) {
return res[0]

@@ -66,4 +66,9 @@ }

};
RNImagePicker.openCamera(Platform.OS == 'ios' ? options : optionObj, callback)
RNImagePicker.openCamera(Platform.OS == 'ios' ? options : optionObj, callback).then(res=>{
if(res.length==1){
return res[0]
}
return res
})
},
};
{
"name": "react-native-new-image-picker",
"version": "0.1.5",
"version": "0.1.6",
"description": "react-native-new-image-picker",

@@ -5,0 +5,0 @@ "main": "index.js",

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