react-native-image-picker
Advanced tools
Comparing version 5.3.1 to 5.4.0
@@ -12,2 +12,3 @@ export declare type Callback = (response: ImagePickerResponse) => any; | ||
presentationStyle?: 'currentContext' | 'fullScreen' | 'pageSheet' | 'formSheet' | 'popover' | 'overFullScreen' | 'overCurrentContext'; | ||
assetRepresentationMode?: 'auto' | 'current' | 'compatible'; | ||
} | ||
@@ -14,0 +15,0 @@ export interface ImageLibraryOptions extends OptionsCommon { |
{ | ||
"name": "react-native-image-picker", | ||
"version": "5.3.1", | ||
"version": "5.4.0", | ||
"description": "A React Native module that allows you to use native UI to select media from the device library or directly from the camera", | ||
@@ -5,0 +5,0 @@ "react-native": "src/index.ts", |
@@ -108,2 +108,4 @@ # react-native-image-picker 🎆 | ||
| formatAsMp4 | OK | NO | NO | Converts the selected video to MP4. iOS Only. | | ||
| assetRepresentationMode | OK | NO | NO | A mode that determines which representation to use if an asset contains more than one. Possible values: 'auto', 'current', 'compatible'. Default is 'auto' | | ||
| | ||
@@ -110,0 +112,0 @@ ## The Response Object |
@@ -23,2 +23,3 @@ import {NativeModules} from 'react-native'; | ||
presentationStyle: 'pageSheet', | ||
assetRepresentationMode: 'auto', | ||
}; | ||
@@ -25,0 +26,0 @@ |
@@ -19,3 +19,7 @@ export type Callback = (response: ImagePickerResponse) => any; | ||
| 'overFullScreen' | ||
| 'overCurrentContext'; | ||
| 'overCurrentContext' | ||
assetRepresentationMode?: | ||
| 'auto' | ||
| 'current' | ||
| 'compatible'; | ||
} | ||
@@ -22,0 +26,0 @@ |
Sorry, the diff of this file is not supported yet
172355
353
153