CustomWebView : An extended form of Web Viewer

I have this blocks for implement upload files and geolocation functions in my app, there is someone that could show me the correct example that works correctly? Thank you in advance