expo-image-picker
Advanced tools
Comparing version 5.0.2 to 6.0.0-rc.0
import uuidv4 from 'uuid/v4'; | ||
import { MediaTypeOptions, } from './ImagePicker.types'; | ||
const MediaTypeInput = { | ||
[MediaTypeOptions.All]: 'video/*,image/*', | ||
[MediaTypeOptions.All]: 'video/mp4,video/quicktime,video/x-m4v,video/*,image/*', | ||
[MediaTypeOptions.Images]: 'image/*', | ||
[MediaTypeOptions.Videos]: 'video/*', | ||
[MediaTypeOptions.Videos]: 'video/mp4,video/quicktime,video/x-m4v,video/*', | ||
}; | ||
@@ -8,0 +8,0 @@ export default { |
{ | ||
"name": "expo-image-picker", | ||
"version": "5.0.2", | ||
"version": "6.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.", | ||
@@ -42,3 +42,3 @@ "main": "build/ImagePicker.js", | ||
}, | ||
"gitHead": "f213c9be2a909dae42a0a27d8aa4b9eac8e97be1" | ||
} | ||
"gitHead": "6334f82adccb529e9347e348c874bd8f6a92cacc" | ||
} |
@@ -11,5 +11,5 @@ import uuidv4 from 'uuid/v4'; | ||
const MediaTypeInput = { | ||
[MediaTypeOptions.All]: 'video/*,image/*', | ||
[MediaTypeOptions.All]: 'video/mp4,video/quicktime,video/x-m4v,video/*,image/*', | ||
[MediaTypeOptions.Images]: 'image/*', | ||
[MediaTypeOptions.Videos]: 'video/*', | ||
[MediaTypeOptions.Videos]: 'video/mp4,video/quicktime,video/x-m4v,video/*', | ||
}; | ||
@@ -16,0 +16,0 @@ |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
76436
1