Mobideck / appdeck

AppDeck is a mobile hybrid application engine for iOS and Android.
http://www.appdeck.mobi/
47 stars 22 forks source link

Only image files allowed when using html5 file input #35

Open RoboKopf opened 8 years ago

RoboKopf commented 8 years ago

Under Android 5.1.1, the html5 file input only allows image files to be selected with the native file picker. It works fine on a webpage using Chrome Mobile (I can pick any type of file), but when I use the same code inside my app I can only pick images.

Can you advise?

RoboKopf commented 8 years ago

There seem to exist simple solutions for this. See

http://stackoverflow.com/questions/5907369/file-upload-in-webview

IMO, ideally this would be an option on the config page, to let user specify an allowed list of filetypes and/or MIME types that can be uploaded using html file input. This would be extremely helpful for me.