xamarin / Xamarin.Auth

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

iOS - ITMS-90809: Deprecated API Usage (April 2020 Cutoff Date) #432

Open ThomasDepole opened 4 years ago

ThomasDepole commented 4 years ago

Xamarin.Auth Issue

Apple has announced they are deprecating the UIWebView and Apple being Apple they will prevent new app submissions after April 2020 and updates to existing apps after December 2020. This means any apps using this plugin won't be able to be submitted after those dates.

This isn't urgent but curious if there are plans to update the iOS logic to use WKWebView vs UIWebView?

Version

Steps to reproduce

  1. Leverage Native Login Flow
  2. Submit App to Apple.
  3. Receive a warning email.
js-ka commented 4 years ago

Anything new? Will we no longer be able to use Xamarin.Auth after April 2020?

InquisitorJax commented 4 years ago

Deadline is looming :(

ThomasDepole commented 4 years ago

Anything new? Will we no longer be able to use Xamarin.Auth after April 2020?

@js-ka You can still submit updates to an existing app after April 2020. Just can't submit new ones. I believe you can't submit updates after November.

InquisitorJax commented 4 years ago

Still not great news for those of us releasing new apps after Apr :( I believe December is the deadline for updating existing apps.

InquisitorJax commented 4 years ago

for those who need to get by, Xamarin.Essentials is a possible alternative: https://devblogs.microsoft.com/xamarin/authentication-xamarin-essentials-aspnet/

Thorinos commented 4 years ago

Am I missing something or their is a property called IsUsingWKWebView that can be set to trueto use WKWebView?

https://github.com/xamarin/Xamarin.Auth/blob/c75c312bd9a7eb7099a315fd76e6c2b6b1d668fc/source/Core/Xamarin.Auth.XamarinIOS/PlatformSpecific/WebViewConfiguration.cs

If this property is set to true, does Apple still send a warning when submitting the app? Am I forced to use Xamarin.Essentials.WebAuthenticator like @InquisitorJax mentionned if I'm planning to release my app after April?

omersezer commented 4 years ago

Any update?

markmccaigue commented 4 years ago

This is also an issue for us, Xamarin.Auth is the only dependency we have which still references UIWebView. It would be great to see an updated release or an official workaround if possible.

Thorinos commented 4 years ago

We have removed Xamarin.Auth from our product and now we are using Xamarin.Essentials WebAuthenticator. And it's working like a charm.

rod-gp commented 4 years ago

@Thorinos do you mind sharing how did you make the WebAuthenticator work like a Charm? we have been working on using it for Apple (working 100%) Google(only works in Android, not iOS) and Facebook (not working on any platform).

friendly-tech commented 4 years ago

Has anyone tried continuing to use Xamarin.Auth as is and using this method : https://devblogs.microsoft.com/xamarin/uiwebview-deprecation-xamarin-forms/

Thorinos commented 4 years ago

@Thorinos do you mind sharing how did you make the WebAuthenticator work like a Charm? we have been working on using it for Apple (working 100%) Google(only works in Android, not iOS) and Facebook (not working on any platform).

We are using our own web service to authentication.

friendly-tech commented 4 years ago

I’ve been playing with this today and have some promising results https://www.davidbritch.com/2020/04/authentication-from-xamarinforms-app_8.html?m=1

andoma93 commented 3 years ago

News about this issue? Thanks