iOS iOS export uses deprecated UIWebView API, triggering a warning from Apple

Discussion in 'GameMaker Studio 2 Community Tech Support' started by SIG., Aug 29, 2019.

  1. SIG.

    SIG. Member

    Joined:
    Aug 12, 2019
    Posts:
    36
    I submitted my game for beta review and received an email from Apple stating that my app had an "issue":
    The linked page explains that UIWebView is "a view that embeds web content in your app." My app is straightforwardly just a game without any integrations from the web or otherwise. The closest thing I can think of are ads or IAP. I do use YYG's Google Play Services extension (which includes a partial implementation of the Google Mobile Ads SDK) to show AdMob ads, and I use YYG's Google Play Services IAP extension to offer a "remove ads" product. But neither of those are really "web content," either, so I'm not at all sure what (if anything) is using the API.

    I've submitted a bug report, but I was curious whether anyone knows more about how UIWebView is being used and whether there is a workaround for when Apple starts outright rejecting apps that use UIWebView.
     
  2. SIG.

    SIG. Member

    Joined:
    Aug 12, 2019
    Posts:
    36
    Checking the build log in Xcode, it looks like maybe the problem is that YYG's ads extension is using an outdated version of Google's iOS Admob SDK:
     
  3. Jose Vasquez

    Jose Vasquez Member

    Joined:
    Aug 30, 2019
    Posts:
    2
    Hello.

    I'm having the same problem. How did you solve it? I will do a YYG update to verify.

    Thanks for the help.
     
  4. SIG.

    SIG. Member

    Joined:
    Aug 12, 2019
    Posts:
    36
    YoYoGames needs to fix this. Please submit a bug report to them: https://accounts.yoyogames.com/contact-us#account
     
  5. WWAZman

    WWAZman Member

    Joined:
    Jun 21, 2016
    Posts:
    103
    Just as a note I ignored it and submitted it anyway, and my app was approved and is currently on the App store. Whatever it is, it isn't critical.
     
  6. SIG.

    SIG. Member

    Joined:
    Aug 12, 2019
    Posts:
    36
    @WWAZman @Jose Vasquez @eams1986

    Did each of you also use the YoYoGames (official) extension for AdMob in the submission that triggered this warning? YYG support wants more information.
     
  7. WWAZman

    WWAZman Member

    Joined:
    Jun 21, 2016
    Posts:
    103
    yeah I think that was the old admob code.. at present no ads are being served in it though.
     
  8. SIG.

    SIG. Member

    Joined:
    Aug 12, 2019
    Posts:
    36
    @WWAZman @Jose Vasquez @eams1986

    I don't see that YYG has created a bug for this, although I did submit a bug report with as much information as I could gather.

    I recommend that the three of you also file bug reports to help YYG view this as a priority. At some point, Apple will start rejecting apps that use APIs that use UIWebView. It would be nice to resolve the issue before that begins.
     
    chirpy likes this.
  9. chirpy

    chirpy Member

    Joined:
    Oct 6, 2016
    Posts:
    179
    It seems to me that this is down to AdMob and Google's GDPR PersonalizedAdConsent implementation, so it's likely that all we can do is to report this to AdMob and wait for Google's updates.

    I see Facebook had dropped UIWebView (Audience Network 5.5.1) and AdMob's adapters are following up, so hopefully they're well aware of it.

    I'm assuming Apple still accepts builds containing UIWebView usage, no?

    =====
    https://github.com/googleads/googleads-consent-sdk-ios/issues/41
    Worst case we may be able to remove all references to PersonalizedAdConsent, set GDPR required to true regardless of user region, set all options to non-personalized ads to true, and rely on privacy policy info to use "legitimate interest" as our legal basis to serve ads in the games (I'm no pro, just had asked some random users on reddit/r/gdpr).
     
    Last edited: Oct 17, 2019

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice