Private Sub B4XPage_Created (Root1 As B4XView)
Root = Root1
Root.LoadLayout("MainPage")
Me.as(JavaObject).RunMethod("allowThirdPartyCookies", Array(WebView1))
End Sub
#if Java
public void allowThirdPartyCookies(android.webkit.WebView wv) {
android.webkit.CookieManager.getInstance().setAcceptThirdPartyCookies(wv, true);
}
#End If