Carlos
Carlos

Reputation: 21

Input file is not working in facebook's internal browser, any solutions?

My external link uses a file upload input but I can´t make it work because it seems to not being supported by facebook's basic internal browser/WebView on android phones. I've searched for and answer but found nothing related to facebook, any solutions anyone?

Upvotes: 2

Views: 1712

Answers (1)

Julien Bachmann
Julien Bachmann

Reputation: 792

In fact the problem is that Android webview does not have a default implementation for showing a file chooser. And each App that use a webview must implement some function of the WebChromeClient to support input of type file.

So unless Android webview will have a default file chooser implementation, The only solution would be that Facebook Android dev team implement the method

onShowFileChooser

of the WebChromeClient. See android webview documentation: http://developer.android.com/reference/android/webkit/WebChromeClient.html#onShowFileChooser

But the problem is how to report this problem to Facebook Android dev team.

Upvotes: 1

Related Questions