Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

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

Discussion in 'Unity Ads & User Acquisition' started by tn92, Aug 30, 2019.

Thread Status:
Not open for further replies.
  1. tn92

    tn92

    Joined:
    Aug 30, 2019
    Posts:
    4
    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 https://developer.apple.com/documentation/uikit/uiwebview 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 (https://github.com/firebase/firebase-ios-sdk/pull/3723)
    FacebookSDK was fix this problem on Objective C (https://github.com/facebook/facebook-objc-sdk/commit/fa3f224b819171adbe70c23799c86882abefbf9d)

    but UnityAds? When do you update this?
     
    Last edited: Sep 3, 2019
  2. DennyOctagon

    DennyOctagon

    Joined:
    Jul 12, 2018
    Posts:
    8
    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.
     
  3. freshel

    freshel

    Joined:
    May 18, 2017
    Posts:
    2
    I submitted a build on TestFlight without UnityAds, and also received this feedback from Apple.
     
    jeremyfryc likes this.
  4. peterobot

    peterobot

    Joined:
    Jun 9, 2013
    Posts:
    3
    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 - https://assetstore.unity.com/packages/tools/network/uniwebview-3-92605, 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.
     
  5. datagreed

    datagreed

    Joined:
    Sep 17, 2018
    Posts:
    42
  6. Schipy

    Schipy

    Joined:
    Jun 1, 2017
    Posts:
    1
    +1
    received the same warning today when submitting a build
    Unity 2019.2.3f1
    XCode 11.0 beta 6
    using only Admob and MixPanel
     
  7. AytoMaximo

    AytoMaximo

    Joined:
    Aug 26, 2015
    Posts:
    76
    +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)
     
  8. jacob-ilin-us

    jacob-ilin-us

    Joined:
    Dec 17, 2017
    Posts:
    2
    +1
    Unity 2019.2.0f1
    XCode 10.3

    using Admob
     
  9. Din0Saw

    Din0Saw

    Joined:
    Aug 17, 2019
    Posts:
    2
    I also have the same issue, Unity 2018.3.12f - Using Unity Ads and Analytics.
     
  10. heiwa-games

    heiwa-games

    Joined:
    Apr 8, 2018
    Posts:
    8
    Same email here! My configuration:

    - Unity 2019.2.3f1
    - Xcode 10.3

    I didn't use any upload tools, just Xcode itself.
     
  11. TroyDraws

    TroyDraws

    Joined:
    Apr 29, 2017
    Posts:
    13
    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 https://developer.apple.com/documentation/uikit/uiwebview 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.
     
  12. ixdrone

    ixdrone

    Joined:
    May 5, 2017
    Posts:
    1
    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)

    Code (CSharp):
    1. WWWForm _form = new WWWForm();
    2.  
    3. _form.AddField("PID", "Unique Player id ****");
    4.  
    5. UnityWebRequest www = UnityWebRequest.Post("www.mywebsite.com/API.php?query=myurl", _form);
    If anyone finds a solution, pease tell me too :D
     
  13. firstuser

    firstuser

    Joined:
    May 5, 2016
    Posts:
    147
    +1
    Any solutions?
     
  14. Q-Ted

    Q-Ted

    Joined:
    Dec 16, 2016
    Posts:
    46
    +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.
     
    Last edited: Sep 2, 2019
    martinasenovdev and mtessmann like this.
  15. ZapTurtle

    ZapTurtle

    Joined:
    Jul 2, 2018
    Posts:
    2
    +1
    unity 2018.3.14f1
    using console mediation tool for Ads
     
  16. David_GameDev

    David_GameDev

    Joined:
    Dec 25, 2016
    Posts:
    29
    +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.
     
  17. AlexFreeman

    AlexFreeman

    Joined:
    Sep 29, 2016
    Posts:
    12
    +1
    Unity 2019.1.5f1
    Ads + IAP
     
  18. TijsVdV

    TijsVdV

    Joined:
    Mar 7, 2017
    Posts:
    32
    +1
    Unity 2019.1.14f1
    Unity IAP
    Google Ads
    Facebook SDK

    Have not yet determined what plugin is causing it
     
  19. Skjalg

    Skjalg

    Joined:
    May 25, 2009
    Posts:
    211
    +1 on this

    No Ads or Unity IAP
     
    mtessmann likes this.
  20. AytoMaximo

    AytoMaximo

    Joined:
    Aug 26, 2015
    Posts:
    76
    Just out of curiosity: are you sure? Ads and analytics packages are always included in project by default.
    upload_2019-9-2_17-46-26.png
     
    jeremyfryc likes this.
  21. gamezuv

    gamezuv

    Joined:
    Nov 6, 2013
    Posts:
    82
    +1 Using unity 2019.2 ,GA and FB plugin
     
  22. MoribitoMT

    MoribitoMT

    Joined:
    Jun 1, 2013
    Posts:
    301
    Same problem today.
    Any solutions yet?
     
  23. tn92

    tn92

    Joined:
    Aug 30, 2019
    Posts:
    4
    Last edited: Sep 3, 2019
    TroyDraws likes this.
  24. toledoal

    toledoal

    Joined:
    Nov 12, 2015
    Posts:
    1
  25. tn92

    tn92

    Joined:
    Aug 30, 2019
    Posts:
    4
    Have Anyone contact with UnityAds Support? I want to know when do they update this? :(
     
  26. KrcKung

    KrcKung

    Joined:
    Jul 18, 2017
    Posts:
    56
    Same problem here, remove UnityAds from the project via Package manager, when build to Xcode, there is still UnityAds folder in the Xcode project, not sure that is what causing the problem. Currently using Unity 2018.4.7f1.
     
    unity_mjL6a3uyLJKrEg likes this.
  27. tn92

    tn92

    Joined:
    Aug 30, 2019
    Posts:
    4
    My project user cocos2dx, i sure this problem in my case is UnityAds, firebase and facebook. My plan to publish soon :( . UnityAds Support plans to update this problem? :( I hope it is handled soon :| .
     
  28. KrcKung

    KrcKung

    Joined:
    Jul 18, 2017
    Posts:
    56
    Remove UnityAds completely from Xcode, still received the same email. Start to suspect might be other plugins that cause the issues, so far, our project has Prime31 as Mac Game Center, iCloud plugin and Stans Mobile Pro as iOS game center, iCloud, still investigating.
     
  29. kraihd

    kraihd

    Joined:
    Sep 10, 2015
    Posts:
    20
    It seems to be reproducible with neither plugins nor packages that access to web.
     
  30. GKiernozek

    GKiernozek

    Joined:
    Nov 16, 2013
    Posts:
    38
    I got the same problem.. do you guys use TextMeshPro? Or UnityWebRequest? Does someone know if they UIWebView APIs?
     
    Last edited: Sep 3, 2019
    Q-Ted likes this.
  31. vaices1974

    vaices1974

    Joined:
    Feb 4, 2019
    Posts:
    3
    Yes. The same here.
    Using TMP ,UnityWebRequest and FacebookSDK.

    No FirebaseSDK and UnityAds.
    Unity 2019,2,1f1 (Personal)

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

    Q-Ted

    Joined:
    Dec 16, 2016
    Posts:
    46
    Yea, both of these are included here.
     
  33. KrcKung

    KrcKung

    Joined:
    Jul 18, 2017
    Posts:
    56
    Do u mean that TextMeshPro and UnityWebRequest actually calling UIWebView API?
     
  34. Q-Ted

    Q-Ted

    Joined:
    Dec 16, 2016
    Posts:
    46
    No. Just saying that we also have this issue and include these packages.
    If someone who fixed it could tell us if they use either of these packages, maybe we could get closer to what is causing it for the projects that do not include Ads/IAP.
     
  35. naklow12

    naklow12

    Joined:
    Jun 14, 2017
    Posts:
    8
    Same problem. I'm waiting for solution about Google Ads.
     
  36. Anagr

    Anagr

    Joined:
    Oct 1, 2016
    Posts:
    22
    Me too. It is ennoying
     
  37. KrcKung

    KrcKung

    Joined:
    Jul 18, 2017
    Posts:
    56
    Just now tested with empty Unity project and submit to Appstore, it seem like even with an empty project with just TextMeshPro will trigger this warning as well.
     
  38. Q-Ted

    Q-Ted

    Joined:
    Dec 16, 2016
    Posts:
    46
    Did you disable the built-in Unity Web Request package?
    Have/can you try without TextMesh Pro?
     
  39. Anagr

    Anagr

    Joined:
    Oct 1, 2016
    Posts:
    22
    I don't use TMP, but using the AdMob
     
  40. GKiernozek

    GKiernozek

    Joined:
    Nov 16, 2013
    Posts:
    38
    We're removing TMP and UnityWebRequest and trying to review an update to iOS soon, I'll let know how it went
     
  41. wujiubao

    wujiubao

    Joined:
    Sep 3, 2019
    Posts:
    2
    Unity2018.2.0f2
    Xcode 10.1

    i tested use a empty Unity3D project (All default Setting,includ .ads,TextMeshPro ,etc) and Export it to a xCode Project then submit to Apple.
    havn't receive this Warning.

    I tried remove Unity Ads, and tried to find out all of "UIWebView" and Delete them in my project, and try to Delete all third part framework as i can.

    I tried many times,can't solution this issue.

    is there any possible that Unity3D's API has used "UIWebview"?such as ".loadRequest" ".loadHTMLString "method etc???

    I want Cry,I want gave up.
     
  42. wujiubao

    wujiubao

    Joined:
    Sep 3, 2019
    Posts:
    2
    I tried Disable the built-in Unity Web Request in my project.It doesn't work..
     
    Q-Ted likes this.
  43. GKiernozek

    GKiernozek

    Joined:
    Nov 16, 2013
    Posts:
    38
    So the suspect which is still under investigation is TextMeshPro, as it can use something from UIWebView for example for Rich text formatting(???) but if not does anyone have other ideas?
     
  44. KrcKung

    KrcKung

    Joined:
    Jul 18, 2017
    Posts:
    56
    So ... I try remove TextMeshPro as well, essentially just empty scene with a rotating cube and yet, still received the warning, maybe it is the version I'm using? Unity 2018.4.7f1?
     
    Last edited: Sep 3, 2019
  45. GKiernozek

    GKiernozek

    Joined:
    Nov 16, 2013
    Posts:
    38
    We're using Unity 2019.1.11f1 and it also raises warning, is someone using newer version? @KrcKung let me know if removing TextMeshPro fixed it for you
     
  46. Skjalg

    Skjalg

    Joined:
    May 25, 2009
    Posts:
    211
    Yes, I'm sure
    upload_2019-9-3_20-18-14.png
     
  47. KrcKung

    KrcKung

    Joined:
    Jul 18, 2017
    Posts:
    56
    Nope, remove TextMesh Pro still giving me the same warning.
     
    GKiernozek likes this.
  48. Lenvanthis012

    Lenvanthis012

    Joined:
    Aug 24, 2013
    Posts:
    21
  49. Skjalg

    Skjalg

    Joined:
    May 25, 2009
    Posts:
    211
    AlexFreeman likes this.
  50. ap-unity

    ap-unity

    Unity Technologies

    Joined:
    Aug 3, 2016
    Posts:
    1,519
    @all

    Just want to let everyone know we are looking into this issue from the Unity Ads side. I will update this thread when I get any new information.
     
Thread Status:
Not open for further replies.