expo-image-picker
Advanced tools
Comparing version 6.0.0 to 7.0.0-rc.0
@@ -46,3 +46,3 @@ import uuidv4 from 'uuid/v4'; | ||
reader.onerror = () => { | ||
reject('Failed to read the selected media because the operation failed.'); | ||
reject(new Error(`Failed to read the selected media because the operation failed.`)); | ||
}; | ||
@@ -49,0 +49,0 @@ reader.onload = ({ target }) => { |
{ | ||
"name": "expo-image-picker", | ||
"version": "6.0.0", | ||
"version": "7.0.0-rc.0", | ||
"description": "Provides access to the system's UI for selecting images and videos from the phone's library or taking a photo with the camera.", | ||
@@ -11,2 +11,3 @@ "main": "build/ImagePicker.js", | ||
"clean": "expo-module clean", | ||
"lint": "expo-module lint", | ||
"test": "expo-module test", | ||
@@ -26,3 +27,4 @@ "prepare": "expo-module prepare", | ||
"type": "git", | ||
"url": "https://github.com/expo/expo.git" | ||
"url": "https://github.com/expo/expo.git", | ||
"directory": "packages/expo-image-picker" | ||
}, | ||
@@ -42,5 +44,5 @@ "bugs": { | ||
"devDependencies": { | ||
"expo-module-scripts": "^1.0.0" | ||
"expo-module-scripts": "~1.1.1-rc.0" | ||
}, | ||
"gitHead": "9518929d6f2ba9cf8e0aae81d34cc1eb52f7093a" | ||
"gitHead": "5d4fcf318390f59cecd1ae5d191afb15488a4447" | ||
} |
@@ -10,6 +10,8 @@ # expo-image-picker | ||
# Installation | ||
# Installation in managed Expo projects | ||
This package is pre-installed in [managed](https://docs.expo.io/versions/latest/introduction/managed-vs-bare/) Expo projects. You may skip the rest of the installation guide if this applies to you. | ||
For managed [managed](https://docs.expo.io/versions/latest/introduction/managed-vs-bare/) Expo projects, please follow the installation instructions in the [API documentation for the latest stable release](#api-documentation). If you follow the link and there is no documentation available then this library is not yet usable within managed projects — it is likely to be included in an upcoming Expo SDK release. | ||
# Installation in bare React Native projects | ||
For bare React Native projects, you must ensure that you have [installed and configured the `react-native-unimodules` package](https://github.com/unimodules/react-native-unimodules) before continuing. | ||
@@ -16,0 +18,0 @@ |
@@ -67,3 +67,3 @@ import uuidv4 from 'uuid/v4'; | ||
reader.onerror = () => { | ||
reject('Failed to read the selected media because the operation failed.'); | ||
reject(new Error(`Failed to read the selected media because the operation failed.`)); | ||
}; | ||
@@ -70,0 +70,0 @@ reader.onload = ({ target }) => { |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
76838
31
296
42
0
1