Search Unity

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. Dalton-Lima

    Dalton-Lima

    Joined:
    Dec 21, 2016
    Posts:
    19
    Do you have any other asset/plugin using UIWebView?
    You can try the approach from the post above.

     
    ina and Petr777 like this.
  2. CreepylandGames

    CreepylandGames

    Joined:
    Jul 10, 2012
    Posts:
    7
    Just to let everyone know, I built a game with 2019.2.7 and it still got UIWebView warning, but I decided to try to publish it anyway and it passed reviews (both for TestFlight and store), so I guess this warning is not critical for review.. at least for now.
     
  3. Skjalg

    Skjalg

    Joined:
    May 25, 2009
    Posts:
    211
    Chartboost has UIWebView references in their documentation for their iOS sdk (version 7.0.2). Their unity plugin is just a wrapper for their iOS and android sdk so I would try removing Chartboost and uploading again.
     
  4. Q-Ted

    Q-Ted

    Joined:
    Dec 16, 2016
    Posts:
    46
    For us, after updating to 2019.2.7f2 the warning went away.
    We only had the internal library that referenced UIWebView.
     
  5. Cocowa

    Cocowa

    Joined:
    Sep 5, 2019
    Posts:
    2
    This ITMS-90809 problem still exists with Unity 2018.4.10f1 and Advertisement 3.2.0 (Package Manager)
     
  6. praleks0000

    praleks0000

    Joined:
    Jan 4, 2013
    Posts:
    6
    2019.2.8 still exists
     
  7. creativelefty

    creativelefty

    Joined:
    Jan 28, 2017
    Posts:
    10
    Issue still exists in 2019.2.9...
     
  8. HaakonL

    HaakonL

    Joined:
    Mar 13, 2014
    Posts:
    123
    Still exists in 2019.1.latest
     
  9. Cocowa

    Cocowa

    Joined:
    Sep 5, 2019
    Posts:
    2
    Issue is fixed in Unity 2018.4.11f1 with Advertisement 3.3.0.
     
    Last edited: Oct 29, 2019
    DBarlok likes this.
  10. temresen

    temresen

    Joined:
    Jul 9, 2018
    Posts:
    29
    Issue still exist in Unity 2018.4.11f1 with Advertisement 3.3.0 on our side.
     
  11. artemis348

    artemis348

    Joined:
    Dec 28, 2014
    Posts:
    3
    I moved my project from 2018.3.8f1 to 2019.2.11f1 (as the UIWebView problem was listed as fixed in 2019.2.7: https://unity3d.com/unity/whats-new/2019.2.7). I am not using Ads, but am using IAP. In my case, I can confirm that the deprecation warning from Apple no longer occurs.
     
    Last edited: Nov 5, 2019
    ali_hasnain likes this.
  12. ODINKONG

    ODINKONG

    Joined:
    Nov 4, 2014
    Posts:
    112
    I did the exact same thing and I am also using unity IAP but I am not using unity ads, I am using google ad mob, and I am still getting the warning. In fact I think at this point apple is not allowing the builds with this api at all anymore, so we currently can't update our IOS build. Does anyone have any more info on this? The build was built in 2019.2.11f1
     
  13. Ikaro88

    Ikaro88

    Joined:
    Jun 6, 2016
    Posts:
    300
  14. umair_hassan1991

    umair_hassan1991

    Joined:
    Jun 27, 2018
    Posts:
    18
    Any update on this issue?
     
  15. Ebonicus

    Ebonicus

    Joined:
    Oct 31, 2016
    Posts:
    158
    +1 here
    Using unity 2017.4.301f
    No unityads or googleads or iap.

    Using 1 asset, NPSettings plugin.

    Only have enabled leaderboards and achievements for google/apple and screenshot sharing.
     
  16. ap-unity

    ap-unity

    Unity Technologies

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

    Ads SDK 3.3.0 removed all references to UIWebview:
    https://assetstore.unity.com/packages/add-ons/services/unity-monetization-3-3-0-66123
    https://github.com/Applifier/unity-ads-ios/releases/tag/3.3.0

    In addition, the Unity engine removed references to UIWebview in all supported versions:
    2017.4.33f1
    2018.4.10f1
    2019.2.7f2
    2019.3.0b4
    2020.1.0a5

    I'm not aware of any other Unity-developed products that make use of that deprecated API.

    If there are any third party SDKs or services that make use of this API, contact their support teams. I would imagine they are also updating their tools to remove the deprecated API, if they haven't already.
     
    DBarlok, andersemil and Kjelle69 like this.
  17. virendra_bhoriwal

    virendra_bhoriwal

    Joined:
    Oct 25, 2018
    Posts:
    14
    Is there any workaround to resolve UIWebView issue in Unity3d 2018.4.6f1?? Desperately need your help...:(..has this issue been resolved in 2018.4.11f1...?
     
  18. Adeetheknights

    Adeetheknights

    Joined:
    May 23, 2018
    Posts:
    5
    Using unity 2019.1.3f1
    Using unity 2018.4.12 LTS
    Using unity 2018.4.4 LTS

    using Unity ads 3.3.0 version
    using admob 3.18.3 unity version
    got a same warning from app store
     
    olddisk likes this.
  19. virendra_bhoriwal

    virendra_bhoriwal

    Joined:
    Oct 25, 2018
    Posts:
    14
    is there any workaround for Unity3D 2018.4.6f1 ??
     
  20. ap-unity

    ap-unity

    Unity Technologies

    Joined:
    Aug 3, 2016
    Posts:
    1,519
    There is no workaround needed. Older versions of Unity have an API that Apple has deprecated. We released a patch that removes that API in all supported versions of Unity.

    You should be able to upgrade your project to the latest 2018.4 version without much issue. (I would still recommend making a backup of your project, ideally in a version control system, before attempting this.) The latest version is currently 2018.4.13f1.
     
    DBarlok likes this.
  21. appstatus

    appstatus

    Joined:
    Dec 4, 2019
    Posts:
    1
    The Best Ever Post in the sense of andoid apk's.
     
    RichardRevesz likes this.
  22. fabiotgarcia

    fabiotgarcia

    Joined:
    Apr 28, 2017
    Posts:
    35
  23. Bit_256

    Bit_256

    Joined:
    Dec 10, 2013
    Posts:
    4
    Hi guys, I using unity 2019.2.17f1 and still getting warning from Apple Deprecated API Usage - Apple will stop accepting submissions of apps that use UIWebView APIs.
    I search in Xcode and found something like this :

    Il2CppMetadataUsage.c
    Classes/Native/Il2CppMetadataUsage.c:extern const uint32_t MoolahStoreImpl_ClosePayWebView_m69321FE5F49ACE555849E874F046FE212CC71C2B_MetadataUsageId;

    Stores.cpp
    IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PayMethod_showPayWebView_m9172B10E5160E863A867127F264B99FA55A774CD (String_t* ___paymentURL0, String_t* ___authGlobal1, String_t* ___transactionId2, String_t* ___hashKey3, String_t* ___customID4, const RuntimeMethod* method);

    Stores_CodeGen.c
    extern
    void MoolahStoreImpl_ClosePayWebView_m69321FE5F49ACE555849E874F046FE212CC71C2B ();

    I'm using Unity In-app purchasing in Service tab.

    I suspect because this I got warning from Apple about using UIWebView. Need help to fix this, Thank you.
     
  24. jamesk5

    jamesk5

    Joined:
    Nov 26, 2012
    Posts:
    16
    Hey everyone, this might be a stupid question but I noticed everyone is talking about hidden links in various packages but not deliberate use of the API - having a button in your UI and opens an external webpage. Perhaps it wasn't mentioned because its too obvious. Is this essentially what Apple is trying to prevent by depreciating the API?

    Right now I'm in beta, and I have a UI button to conveniently link my beta testers to a Google form for feedback. But in final release I was considering providing a button link to a Google form where players can request a language translation (vote style). That way when I start localization support there might be an indication of which languages to focus on the most. I'm using
    Application.OpenURL().

    However, I have yet to update Ads package to 3.3 and see if that fixes. I'm currently on 2018.4.12.

    Update:
    Confirming the issue is resolved after updating the Advertisement package.
     
    Last edited: Jan 11, 2020
  25. ap-unity

    ap-unity

    Unity Technologies

    Joined:
    Aug 3, 2016
    Posts:
    1,519
    None of those results are for the API that Apple has deprecated. As far as we're aware, no Unity product or service is using this deprecated API.

    The deprecation message that started this discussion is specifically about this API:
    https://developer.apple.com/documentation/uikit/uiwebview?language=objc

    It doesn't matter how it is being used or if it is used directly or not. If it is referenced in your app, then presumably Apple will soon not allow it in the app store. There are cases when you use another library that makes use of it, such as the Unity engine or the Ads SDK. Both of those have been updated to remove the API completely.

    Older versions of the Ads SDK still reference the deprecated API, so it is expected that you will get that warning until you upgrade to 3.3.0+.
     
  26. thestringer

    thestringer

    Joined:
    Aug 7, 2014
    Posts:
    70
    running 2019.2.16f1 just updated to unity ads 3.3.0 and ads is turned off in services -

    here's to lucky build number 24 to iTunes Connect

    seem to have wasted my whole weekend on this
     
  27. Deleted User

    Deleted User

    Guest

    I am still seen this problem on version 2018.4.15 LTS, 2018.4.5f1, and 2019.2.11f1. For each test case we are only submitting the sample IAP Demo Scene with Unity IAP and Analytics enabled in Services. No Ads packages enabled.

    Please advice!
     
  28. thestringer

    thestringer

    Joined:
    Aug 7, 2014
    Posts:
    70
    I upgraded to 2019.3.0f3 unity ads removed and also added a bit of blurb in the player settings "location usage description" for ITMS-90683

    no more ITMS-90683 or ITMS-90809 since the 2019.3.0f3 and removing unity ads.

    submitted my 31st build to iTC and that one passed without any emails and submitted to the store... only took a weekend to resolve.

    I am staying on this version for the time being
     
  29. Deleted User

    Deleted User

    Guest

    I can confirm 2019.3.0f5 works. Warning ITMS-90809 is gone
     
    thestringer likes this.
  30. mbosoftgame

    mbosoftgame

    Joined:
    Feb 12, 2019
    Posts:
    2
    2019.2.3f1 the same error!
     
  31. KB73

    KB73

    Joined:
    Feb 7, 2013
    Posts:
    234
    We're seeing this in xcode 11.3.1 and Unity 2019.2.19 - i cannot find any reference to UIWebView anywhere apart from the UIKit that apple supplies :/
     
  32. andersemil

    andersemil

    Joined:
    Feb 2, 2015
    Posts:
    112
    KB73 likes this.
  33. KB73

    KB73

    Joined:
    Feb 7, 2013
    Posts:
    234
  34. dryraa

    dryraa

    Joined:
    Apr 10, 2017
    Posts:
    8
    We still have the issue as well, on Unity 2019.1.6f1.. even after deleting UnityAds
     
  35. Ballspark

    Ballspark

    Joined:
    Feb 29, 2020
    Posts:
    1
    my mobile game app binary is rejected after submission to apple store connect, i copy and paste the message that i ve received, please note that i ve deleted the unity advertisement package , i am lost.... an anyone help me on this issue of mine?


    We discovered that your app contains hidden features. Attempting to hide features, functionality or content in your app is considered egregious behavior and can lead to removal from the Apple Developer Program.


    Specifically, your app contains functionality to load a webview of external content within the app for the purpose of third-party game streaming.
     
  36. ina

    ina

    Joined:
    Nov 15, 2010
    Posts:
    1,085
    Apple will stop accepting submissions of apps that use UIWebView APIs starting from April 2020 on Unity 2019.2.18f1 ...
     
  37. Petr777

    Petr777

    Joined:
    Nov 8, 2017
    Posts:
    49
    For new apps - from April 2020
    For existing apps - from December 2020
    https://developer.apple.com/news/?id=12232019b
     
    Protozoaire likes this.
  38. ap-unity

    ap-unity

    Unity Technologies

    Joined:
    Aug 3, 2016
    Posts:
    1,519
    Since this issue has been addressed on the Unity Ads SDK side and this forum is for Unity Ads questions, I'm going to close this thread.

    Here is a reminder of the versions where it was addressed:

    Ads SDK 3.3.0 removed all references to UIWebview:
    https://assetstore.unity.com/packages/add-ons/services/unity-monetization-3-3-0-66123
    https://github.com/Applifier/unity-ads-ios/releases/tag/3.3.0

    In addition, the Unity engine removed references to UIWebview in all supported versions:
    2017.4.33f1
    2018.4.10f1
    2019.2.7f2
    2019.3.0b4
    2020.1.0a5

    If you still receive this warning, I would suggest verifying all other plug-ins you have in your project.

    A user suggested using grep (or findstr on Windows) to search for usages of "UIWebView".

     
Thread Status:
Not open for further replies.