Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File uploads in WebView not working on KitKat (4.4.0->4.4.2) #4

Closed
Whyser opened this issue Jan 16, 2015 · 2 comments
Closed

File uploads in WebView not working on KitKat (4.4.0->4.4.2) #4

Whyser opened this issue Jan 16, 2015 · 2 comments

Comments

@Whyser
Copy link

Whyser commented Jan 16, 2015

This is probably a VERY known issue (and might even be unsolvable). But I thought I'd make an issue about it so that people know it won't work for KitKat 4.4.0->4.4.2. Also maybe update the README.md to state this?

It should work in KitKat 4.4.3+ though, but I haven't tested it myself.

@ocram ocram added the bug label Jan 17, 2015
@ocram
Copy link
Contributor

ocram commented Jan 17, 2015

You're right, it's good to have this in the issues, at least. Don't know if it's necessary to have this in the README as well.

So the file uploads don't work on Android 4.4 and never will. This is because Android removed the undocumented APIs that existed before Android 4.4 and only introduced a new API in 5.0.

This should affect Android 4.4.3 as well.

@ocram
Copy link
Contributor

ocram commented Jan 24, 2016

In order to check if file uploads are available or not, you can call the following method:

AdvancedWebView.isFileUploadAvailable()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants