You implemented an authentication page and want to go back to AR-screen right afterwards? I recommend you to implement authentication directly in AR experience (e.g. via SSO API) instead or validate credentials in a form in the AR context / activity / screen.
That way you can reuse your implementation and avoid changing between native and in-app WebView which may cause issues when validating session.
Best regards
J
J.s.13
said
about 8 years ago
Hi,
I have create a simple function into index.html page. When the page load open my website login
CODE:
<html>
<head>
<script type="text/javascript"> function load(){ AR.context.openInBrowser("https://www.mylogin.com"); } </script>
</head>
<body onload="load()">
</body>
All works fine but i want close the AR browser from onclick event in my webpage(i won't to use Done standard button).
Simon 248601