Open sfshine opened 6 years ago
You’re right. If we find the right abstraction, we should implement that. Thank you!
Any update on this as I am not getting "Choose from gallery or take picture" option from webview.
@sfshine Can you suggest the changes required to implement this.
@anukools This issue here is just to simplify extending the functionality for file uploads in the future. If you want camera access right now, you should take a look at https://github.com/delight-im/Android-AdvancedWebView/issues/10, https://github.com/delight-im/Android-AdvancedWebView/issues/16, https://github.com/delight-im/Android-AdvancedWebView/issues/20 and https://github.com/delight-im/Android-AdvancedWebView/issues/81 instead.
I have a feature that open a AlertDialog when click FILE LABEL where user can choose ''choose file from gallery" or "take picture directly" I check the source code find that I cannot override the FileInput process logic that AdvancedWebView defined. It would be nice if developer can override openFileInput method and do some customizations