浏览代码

pass exif, needed for fingerprinting

Artur Paikin 6 年之前
父节点
当前提交
d362c73dc9
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      examples/react-native-expo/react-native/file-picker/index.js

+ 1 - 1
examples/react-native-expo/react-native/file-picker/index.js

@@ -58,7 +58,7 @@ export default class UppyReactNativeFilePicker extends React.Component {
   }
 
   selectImage () {
-    selectImage().then((file) => {
+    selectImage({ exif: true }).then((file) => {
       this.uppy.addFile({
         source: 'React Native',
         name: `media_${Date.now()}.jpg`,