iOS Question webview auth problem

mrossen

Active Member
Licensed User
I am running this code. But UserAndPasswordRequired event is never raised. What am I missing

B4X:
Sub WebViewLeaflet_UserAndPasswordRequired (Host As String, Realm As String) As String()

    Log("Password")
    Return Array As String("user", "password")
   
End Sub

Sub getInstallPDF(s As String)
   
    WebViewLeaflet.LoadUrl("http://www.lpastech.dk/admin")
    NavControl.ShowPage(leaflet)   

End Sub
Mogens
 
Top