delight-im / Android-AdvancedWebView

Enhanced WebView component for Android that works as intended out of the box
MIT License
2.39k stars 574 forks source link

File chooser not working on versions 4.4.1 and 4.4.2 #37

Closed dayerdl closed 8 years ago

dayerdl commented 8 years ago

Having this html:

input type="submit" value="upload file"

The button does not open the Filechooser. Is there any work around this problem?

ocram commented 8 years ago

Thanks!

This has been discussed quite a few times already, see https://github.com/delight-im/Android-AdvancedWebView/issues/4

Unfortunately, there is no workaround as this is a bug in the Android OS itself. Sorry!

The only solution is waiting for users to upgrade to 5.0, 5.1, 6.0 etc.

wadleo commented 8 years ago

Maybe you guys can try to implement the solution provided in the link below, thanks. https://github.com/henrychuangtw/Kitkat-WebView

ocram commented 8 years ago

@wadleo That's not really a solution. It requires you to change the server-side code as well. You can just add this to your app even if you're using this library.