CustomWebView : An extended form of Web Viewer

I need help, my website there is an svg image which on pc u can click and it does smth but in costumwebview it just highlights the image on blue and does nothing when click

I'll have to guess?

but like that isnt important, the thing is it doesnt detect the button is clicked when u click it

it pints click to console, makes image larger for some secs, and makes some images fall in rain style, but the thing is none of those happens when click on costumwebview but on pc they do

Does not look like any of those is fixable from my side.

Did you try double tapping?

yes

Can someone please answer this?

And more importantly this

Hi, I’m using CustomWebView extension. When a webpage fails to load (like no internet), it shows the default message:

"Web page not available… net::ERR_..."

Instead, I want it to show a custom error page with a “Reload” button, handled inside the CustomWebView extension itself. I tested an extension SwipeRefresh to pull to refresh, but unfortunately that was no work for me.

Is there a way to detect load failure and display a custom HTML with a reload option?

Thanks!

Have a look at the blocks, specially event (yellow) ones. Maybe you'll find block for handling errors.

I want to enable users to upload all types of files, including capturing images directly from the camera, using my CustomWebView extension. My webpage already supports all file types, and in Chrome, when the "Select File" option is clicked, both the file picker and camera options are shown.

However, with my current block code implementation, only the file picker appears, and the camera option is missing. I would like to know how I can modify my app so that both the camera and file selection options are available when uploading files.

Hi, I encountered a bounce effect during vertical scrolling (when reaching the top or bottom, the site seems to stretch). Is there a way to disable this? In a regular WebView, there are parameters like:

webView.scrollView.alwaysBounceVertical = false
webView.scrollView.bounces = false

Try OverScrollMode ?

You'll have to implement it yourself. Currently you are using activity starter to pick file.
You may show a layout with options for camera and gallery option and then proceed accordingly.

OverScrollMode doesn't change anything. However, it seems like this is standard behavior on webview

How do I make the WebView fullscreen

You might try with:

Ensure you give yourself a method to get back out of full screen.

Let me rephrase. How do I make the WebView fit the parent area. Also, how do I enable localstorage?

Set the container arrangement width and height to -2

local storage is set by default in customwebview

1 Like