Webview or Link

Hi, I want my users to be able to enter a www. address and

  • see it in webview if the www. accepts it
  • or display a link.

Is there a way to automatically check that webview works for a given www.?
Thanks

Webview is for embedding into the app , link to reach an app starting from the app , i have to say that Glides manages the external link quite well writing ‘loading while it loads and putting a shortcut in the left upper side that makes the external link and the user experience to look like as within the app .Both rely on how fast is the service you’re calling there ,so optimizing with gtmetrix for example is king!.

1 Like

Thank you @Manu_Marea.
My question was not clear enough: in some case, external websites cannot be displayed via webview (I suppose that it is due to restrictions that these websites put in their code).
In this case, we should enable our users to access this external website via a “link component”.

My objective is to display either a “webview component” or a “link component” according to the possibility (or not) of displaying the external website in webview.
→ But, is it possible to test upfront if an url (that I don’t know since entered by the user) will be displayed in webview?

Thanks

ok , its clear , thanks :grinning_face_with_smiling_eyes:

I can’t think of any way to do it with Glide, but it could be done with a bit of Apps Script - which would of course mean a delay…

3 Likes

Thank you @Darren_Murphy, I will have a look !