Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use WKWebview instead of UIWebView #1203

Open
flo-bk opened this issue May 15, 2018 · 3 comments
Open

Use WKWebview instead of UIWebView #1203

flo-bk opened this issue May 15, 2018 · 3 comments

Comments

@flo-bk
Copy link

flo-bk commented May 15, 2018

Hello @oldalton
In a previous issue you have mentionned the WKWebView, I really need to use it instead of the UIWebview (in order to implement WKProcessPool).
I've tried to update the library but it doesn't work. (the webview is never displayed)

Do you have by chance any advise to help us ?

Many thanks for your help.

@oldalton
Copy link
Member

Hi, we're currently working on adding WKWebView ourselves. You can see some work in progress here: https://github.com/AzureAD/microsoft-authentication-library-common-for-objc/tree/dev and in open PRs. I'd recommend for you to wait for ADAL to have an update with WKWebView instead of trying to work it around yourself. I think the main problem you're hitting is that WKWebView doesn't support custom NSURLProtocol, so the SDK really has to be rebuilt to use it.

@flo-bk
Copy link
Author

flo-bk commented May 17, 2018

Hi,
Thank you very much.
Kind regards,

@oldalton
Copy link
Member

Hi. Please try our ADAL 4.0.0 release which supports WKWebView.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants