Please in future post in the correct topic (final warning). Given you are using Kodular you would normally be being directed back to the Kodular community, and have your question closed off, but given your enquiry is about using CustomWebView, we are allowing it for now...
To suggest an answer to your query, you could create a bespoke html page (upload to your assets / media folder) to load if the called web page timed out, which could give users advice on what happened and what to do next.
If your question is about CustomWebView, then find the CustomWebView topic (this topic) and post a reply. No need to keep creating new topics and make work for others to tidy up your mess.
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
Getting this code with CustomWebView ; Is there a new version for it
java.lang.ArrayIndexOutOfBoundsException: length=0; index=-1 at java.util.ArrayList.get(ArrayList.java:439) at com.sunny.CustomWebView.CustomWebView.getIndex(Unknown Source:26) at com.sunny.CustomWebView.CustomWebView.access$200(Unknown Source:0) at com.sunny.CustomWebView.CustomWebView$ChromeClient.onProgressChanged(Unknown Source:4) at WV.I80.d(chromium-TrichromeWebViewGoogle6432.aab-stable-720417938:19) at WV.F7.handleMessage(chromium-TrichromeWebViewGoogle6432.aab-stable-720417938:242) at android.os.Handler.dispatchMessage(Handler.java:106) at android.os.Looper.loopOnce(Looper.java:201) at android.os.Looper.loop(Looper.java:288) at android.app.ActivityThread.main(ActivityThread.java:7950) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:936) *Note:* You will not see another error reported for 5 seconds.