You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2020/08/03 12:12:50 UTC

[GitHub] [cordova-plugin-camera] etiks3 commented on issue #635: Plugin allows selection of .txt and .pdf but set on "MediaType.PICTURE"

etiks3 commented on issue #635:
URL: https://github.com/apache/cordova-plugin-camera/issues/635#issuecomment-667988853


   After investigations, it seems that the fileprovider is causing the problem. I could not reproduce the issue but it seems that if I've used a external file provider to scan a document and select it with the camera plugin, .pdf and .txt files are allowed to be uploaded. We don't want that and restrict the camera plugin to be able to only upload .jpeg, .png. Is there a way to restrict the file provider in the device? Thanks for your answer


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org