filestack / FSPicker

DEPRECATED
MIT License
10 stars 15 forks source link

Failure to disallow sources based on mimeTypes #34

Open JoeFerrucci opened 7 years ago

JoeFerrucci commented 7 years ago

Picker ignores the fact that config.mimeTypes = [FSMimeTypeTextPlain, FSMimeTypeApplicationPDF, FSMimeTypeApplicationDOCX, FSMimeTypeApplicationDOC] and still allows the uploading of Images/Videos from the Device/Albums.

Edit: I was assuming Local would be disabled if no Image/Video MIMEType was detected. Appears this is not the case.

As a resolution, I have set the FSConfig.sources manually.