Crashes when OpenGL rendering in background thread / video ads not displaying when forcing WKWebView

589 views
Skip to first unread message

Olivier Sanz

unread,
Jun 25, 2019, 4:30:18 AM6/25/19
to Google Mobile Ads SDK Developers
Hello,

I'm an iOS developer working on the Eurosport iOS application (1.3 millions active users monthly).

We are currently encountering some issues with the Google Mobile Ads iOS SDK.

We had 100.000 crashes in 1 week on old devices caused by OpenGL rendering in background thread, when users put the app in background before the display of the ads.
"We made a change (after a recommendation from our technical account manager) who suggested adding "gad_preferred_webview: wkwebview" to our app's Info.plist. While this hasn't completely prevented all GAD related crashes, it did significantly improve the stability of this crash in particular."

The good thing is it completely fixed the crashes, but the bad thing is that advertisements containing videos are not displayed anymore when forcing WKWebView.
So either we have crashes or we cannot display advertisements containing videos...

Is someone familiar with this problem and have a workaround ?
Is a fix planned to be released soon ? (for both issues)

Regards,

Eurosport iOS Team.

Mobile Ads SDK Forum Advisor Prod

unread,
Jun 25, 2019, 6:45:15 AM6/25/19
to oliv...@gmail.com, google-adm...@googlegroups.com
Hi Olivier,

Thank you for reaching out to us.

With regard to you concern, These crashes are not really coming from the Mobile Ads SDK and is more of an Apple bug. I'm afraid the only workaround for now is to opt in to WKWebView in your app by setting "gad_preferred_webview" to "wkwebview" as a string in your app's Info.plist.

Please follow our our blog or Release Notes regarding on this.

Regards,
Teejay Pimentel
Mobile Ads SDK Team

 

ref:_00D1U1174p._5001UCZKYq:ref
Reply all
Reply to author
Forward
0 new messages