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.
over 5 years ago
I have create a simple function into index.html page. When the page load open my website login