react-native-image-crop-picker icon indicating copy to clipboard operation
react-native-image-crop-picker copied to clipboard

Picker lets me pick pdf/docx in Pixel 3 XL

Open jitanshu opened this issue 3 years ago • 0 comments

Version

Tell us which versions you are using:

  • react-native-image-crop-picker v0.37.3
  • react-native v0.67.4

Platform

Tell us to which platform this issue is related

  • Android

Expected behaviour

In case I choose "mediaType" to "any" it should only let me pick images/videos but not documents which is working in my Realme XT but that is not the case with Google Pixel 3 XL.

Actual behaviour

I am able to select pdf/docs from file manager in case mediaType is "any".

Steps to reproduce

  1. Handle upload as below ImageCropPicker.openPicker({ mediaType: "any", multiple: true, }).then((media) => { setMedia(media) });

  2. Try Selecting PDF/Docx files from file manager.

Attachments

// stacktrace or any other useful debug info

Love react-native-image-crop-picker? Please consider supporting our collective: 👉 https://opencollective.com/react-native-image-crop-picker/donate

jitanshu avatar May 05 '22 07:05 jitanshu