weareatlas / nativescript-simple-filepicker

Other
4 stars 2 forks source link

Extensions on Android - File Picker Doesn't Open with Multiple Mimetypes #19

Open keithoys opened 3 years ago

keithoys commented 3 years ago

Dear Developer,

private uploadFiles() {
    openFilePicker({
        extensions: isIOS ? [kUTTypeImage, kUTTypePDF] : ['image/*', 'application/pdf'],
        multipleSelection: true,
        ...

It works when only 1 mimetype is specified e.g. ['image/*]; When more than 1 mimetype is specified e.g. ['image/*', 'application/pdf'], file picker doesn't open at all.

Prolly something to do with the configuration here?

image

JavidMohajery commented 3 years ago

I am in this trouble too. There was not any sample in demoes passing extensions parameter to the method, ended up I found this issue stating my problem but still open. any help?