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

Just submitted my app to TestFlight and got an email with the error:

ITMS-90809: Deprecated API Usage - Apple will stop accepting submissions of apps that use UIWebView APIs . See UIWebView | Apple Developer Documentation for more information.

I was wondering if all the code related to UIWebView will have to be removed and only keep WKWebView.

It was just a warning, the build ended up being available on TestFlight, but I think this is something that will have to be addressed at some point.

When I remove UnityAds sdk from My project, My issue is solved.
So, Have any version update for UnityAds?
Thanks!

UPDATE:
My issue is solved when i remove FirebaseSDK, FacebookSDK, UnityAds.
FirebaseSDK is will update later week (Remove references to UIWebView from DynamicLinks to comply with Apple… by dloic · Pull Request #3723 · firebase/firebase-ios-sdk · GitHub)
FacebookSDK was fix this problem on Objective C (Replace UIWebView with WKWebView for App Link when possible · facebook/facebook-ios-sdk@fa3f224 · GitHub)
but UnityAds? When do you update this?

5 Likes

I received this email too when submitted to TestFlight today. Just like yesterday I uploaded different project with more or same plugin and xcode setting and have no problem. And I remove UnityAds as you suggested but app store still gave me the email. I will closely monitor to this thread.

I submitted a build on TestFlight without UnityAds, and also received this feedback from Apple.

1 Like

I also received this email from Apple for 3 separate apps, the first one on Wednesday August 28th 2019. Ironically I submitted an app on the 27th that didn’t receive this warning, but that uses UniWebView - UniWebView 3 | Network | Unity Asset Store, a plug-in that probably uses that API. The other three apps did not include that plug-in or other plug-ins that display web views. That makes me think that this warning began on the 28th, and that Unity itself makes calls to UIWebView.

Got the same thing today Using EasyMobile Pro and AdMob, not sure what exactly causes.

I also though about IAPs, hence the thread - Received a warning from Apple - ITMS-90809: Deprecated API Usage

+1
received the same warning today when submitting a build
Unity 2019.2.3f1
XCode 11.0 beta 6
using only Admob and MixPanel

+1
Getting the same thing.
Unity 2018.4.6f1
XCode 10.2.1

I’ve searched for some mentions of WebView in the XCode project. Seems like it’s all related to IAP package (noticed some code about purchasing and payments)

+1
Unity 2019.2.0f1
XCode 10.3

using Admob

I also have the same issue, Unity 2018.3.12f - Using Unity Ads and Analytics.

Same email here! My configuration:

  • Unity 2019.2.3f1
  • Xcode 10.3

I didn’t use any upload tools, just Xcode itself.

The offending library is UnityAds.

You can see the usages of the deprecated class here:
https://github.com/Unity-Technologies/unity-ads-ios/search?q=UIWebView&unscoped_q=UIWebView

If you are using unity ads in your project then you will get the automated warning email:

ITMS-90809: Deprecated API Usage - Apple will stop accepting submissions of apps that use UIWebView APIs . See UIWebView | Apple Developer Documentation for more information.

UIWebView was removed in iOS 13 so its likely that apple will only start rejecting apps for this when they also start requiring apps to be built with ios 13. That will happen sometime in 2020.

It looks like unity ignores pull requests on their repo so its not like we can patch it and submit a pull request. Would be great to hear a response from someone at unity.

Same Email for me too.

Softwares are Used:

  • Unity Hub 2.1.0
  • UNITY 2019.1.10f1 (MAC)
  • Xcode 10.2.1
  • MySQL and PhP (for leaderboard)

Packages are used:

  • Facebook
  • Game Analytics

Network codes are used: (for leaderboard)

WWWForm _form = new WWWForm();

_form.AddField("PID", "Unique Player id ****");

UnityWebRequest www = UnityWebRequest.Post("www.mywebsite.com/API.php?query=myurl", _form);

If anyone finds a solution, pease tell me too :smile:

+1
Any solutions?

+1
Unity 2019.1.4f.
We are not using Unity Ads, Analytics or IAP. (or any native plugins)
Searching for WebView or UIWebView in xcode also returns no hits.

2 Likes

+1
unity 2018.3.14f1
using console mediation tool for Ads

+1 Unity 2018.4.7f1
There was a Phase of the Project where it included IAP, however, that no longer is the case,
the Game doesn´t include IAP or Ads anymore. We use analytics.
We also have this problem.

+1
Unity 2019.1.5f1
Ads + IAP

+1
Unity 2019.1.14f1
Unity IAP
Google Ads
Facebook SDK

Have not yet determined what plugin is causing it

+1 on this

No Ads or Unity IAP

1 Like

Just out of curiosity: are you sure? Ads and analytics packages are always included in project by default.
4922849--477008--upload_2019-9-2_17-46-26.png

1 Like