Socket
Socket
Sign inDemoInstall

react-native-image-picker

Package Overview
Dependencies
Maintainers
2
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.5.0 to 0.6.0

4

Example/index.ios.js

@@ -23,3 +23,3 @@ import React from 'react-native';

// Specify any or all of these keys
var options = {
const options = {
title: 'Select Avatar',

@@ -63,3 +63,3 @@ cancelButtonTitle: 'Cancel',

var styles = StyleSheet.create({
const styles = StyleSheet.create({
container: {

@@ -66,0 +66,0 @@ flex: 1,

@@ -9,4 +9,4 @@ {

"dependencies": {
"react-native": "^0.9.0"
"react-native": "^0.11.0"
}
}

@@ -7,3 +7,3 @@ {

},
"version": "0.5.0",
"version": "0.6.0",
"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)",

@@ -8,3 +8,3 @@ # react-native-image-picker

2. In the XCode's "Project navigator", right click on your project's Libraries folder ➜ `Add Files to <...>`
3. Go to `node_modules` ➜ `react-native-image-picker` ➜ select the `UIImagePickerManager` folder
3. Go to `node_modules` ➜ `react-native-image-picker` ➜ select the `UIImagePickerManager` folder **Make sure you have 'Create Groups' selected**
4. Make sure `UIImagePickerManager.m` is listed under 'Compile Sources' in your project's 'Build Phases' tab

@@ -32,2 +32,7 @@ 5. Compile and have fun!

chooseFromLibraryButtonHidden: false,
customButtons: {
'Choose Photo from Facebook': 'fb', // [Button Text] : [String returned upon selection]
},
maxWidth: 100,
maxHeight: 100,
returnBase64Image: false,

@@ -34,0 +39,0 @@ returnIsVertical: false,

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