Web viewer detect page not available

I’m making a webviewer in my app and I wanted to know how I can make it so that when the page doesn’t load or isn’t available, I can do some action, that is, sometimes the web page I want to show in my application can be down and that means the error with the page link saying that there is an error or the page is not available, what I need to do is make sure that when this appears or when the page is not available, do the action of stopping or leaving the webviwer visibility to false and showing a message that the page is down
I hope someone can help me.

When you do the next topic, you must write in English

1 Like

OK sorry

You can place a web and do a get before waiting for a response, before loading the webView, if it responds with code 200 it means it is online.

I understand and with which component I can do this action

the WEB component

1 Like