I have within a htmlDrawable a link to a website, when you click on the link directly opens the website but not the ability to choose the browser and no turning back. How I can fix this?
over 5 years ago
Your can set the allowDocumentLocationChanges to false so the content of the HtmlDrawable does not change. And use the onDocumentLocationChanged trigger to get notified once if there would be any change to the document.location of the HtmlDrawable. Inside this trigger you can use AR.context.openInBrowser to open the url in the default browser.