xamarin / Xamarin.Auth

Xamarin.Auth
Apache License 2.0
541 stars 351 forks source link

iOS13: UIWebView deprecated API Usage #423

Open onurhazar opened 5 years ago

onurhazar commented 5 years ago

Hi, I just uploaded a new version of my app to appstore connect and got an email from Apple;

We identified one or more issues with a recent delivery for your app, "MyApp" 1.0.3099 (1.0.3099.26338). Your delivery was successful, but you may wish to correct the following issues in your next delivery:

ITMS-90809: Deprecated API Usage - Apple will stop accepting submissions of apps that use UIWebView APIs . See https://developer.apple.com/documentation/uikit/uiwebview for more information.

I am totally sure that I replaced all of the UIWebView s to WKWebView s in my project. So I looked other packages I am using and found out that Xamarin.Auth is also using UIWebView. Is there any plan to remove this deprecated control from your package in the future? or can we prefer using WKWebView while creating OAuth2Authenticator?

sichy commented 4 years ago

This is very urgent to be cleared, nobody knows when Apple will stop allowing app publish with UIWebView and Xamarin.Auth is the culprit here.

sichy commented 4 years ago

@Redth How did the triage go? Confirmed?

JakubHolovsky commented 4 years ago

Any update on this issue?

HisCodeness commented 4 years ago

Hello,

Did you try to add WebViewConfiguration.IOS.IsUsingWKWebView = true; in your code ?

maxal1917 commented 4 years ago

Same here, it looks like not using it is not enough. Unless I can make my code Link safe (and it's not trivial, and may depend on other libraries as well) even if not used, it's still a problem https://docs.microsoft.com/en-us/xamarin/ios/user-interface/controls/webview#uiwebview-deprecation

JakubHolovsky commented 4 years ago

So I recently raised this question on MSDN docs https://github.com/MicrosoftDocs/xamarin-docs/issues/2613#issuecomment-601227768 and they said that Xamarin.Auth should no longer be used and you should move to Xamarin.Essentials and their authenticator.