Itms-90809: Deprecated API Usage - Apple Will Stop Accepting Submissions of Apps That Use Uiwebview APIs

ITMS-90809: Deprecated API Usage -- Apple will stop accepting submissions of apps that use UIWebView APIs

I will answer my own question as I have news about this email. Google told me that there are several tickets about this issue and they are going to resolve this as soon as possible.
Also today my app has been approved for the AppStore so it seems to be just a warning for the time being.

Flutter ITMS-90809: Deprecated API Usage - Apple will stop accepting submissions of apps that use UIWebView APIs

You can find the module that is causing the trouble by running grep -r "UIWebView" .

The most likely culprit is flutter_qr_bar_scanner as described in this issue in their repository.

ITMS-90809: Deprecated API Usage — Apple will stop accepting submissions of apps that use UIWebView APIs When upload myApp

Apple recently introduced a new App Submission warning ITMS - 90809 stating that we are formally deprecating UIWebView. If your application code or any framework still contains the reference for UIWebView for sure you will be get warned.
 

WKWebView is the replacement for UIWebView and I believe soon Apple will start rejecting the apps who still use UIWebView. So be ready for this.
 

By executing the below terminal command you can easily get to know which library is still using UIWebView reference (don't miss the . (dot)).

$ grep -r "UIWebView" .

Output for framework match

./.framework/Headers/ANY.h:#define ANYUseUIWebView ANY_NAME_PASTE(ANY_PREFIX_NAME, ANYUseUIWebView)

 Output for library match

Binary file ./.framework/.a matches

If you see some matches it means it time to upgrade these libraries.

I hope it helps. Cheers

EDIT

Update from Apple

The App Store will no longer accept new apps using UIWebView as of 
April 2020 and app updates using UIWebView as of December 2020.

Reference: https://developer.apple.com/news/?id=12232019b

ITMS-90809: Deprecated API Usage - existing app that use UIWebView are no longer accepted

Yes, Apple did change the policies
Are you using ionic? if so, install these:

  1. cordova plugin add cordova-plugin-ionic-webview@latest
  2. npm install @ionic-native/ionic-webview

Then add this to your config.xml under ios platform:


`



Finally run ionic cordova prepare ios to reflect the changes
then run ionic cordova build ios --prod

PS: Make sure you have only one webview plugin installed.. either this or the 'cordova-webviewengine'. But the above method worked for me and my app is in app store now

Flutter: How to fix ITMS-90809: Deprecated API Usage - Apple will stop accepting submissions of apps that use UIWebView APIs

I think it was being used from the firebase_auth plugin.
Try to update it to its latest version and then remember run pod update.



Related Topics



Leave a reply



Submit