Jump to content
jordi

ios webview credentials

Recommended Posts

Hello, I want to provide credentials in iOs webbrowser, so the user will not have to enter them manually.

 

Anyone has some code for Delphi?

 

Thanks

 

Jordi

 

Share this post


Link to post

I expect you'd need to patch the TBaseWebViewDelegate.AuthenticateForHost method in FMX.WebBrowser.Delegate.Cocoa unit, and pass the username and password instead of using TDialogServiceAsync.InputQuery.

 

I'd recommend submitting a feature request in the Quality Portal for an OnAuthenticate (or similarly named) event to make this easier.

Share this post


Link to post

Hello,

I 've modified the code with your suggestions and it's working. 

Also I've added a feature request to Quality Portal.

Thank you very much

  • Like 1

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×