yandexmobile / yandex-ads-sdk-ios

Yandex Mobile Ads SDK iOS
https://yandex.com/dev/mobile-ads/
Other
40 stars 8 forks source link

Креши из-за использования UIGraphicsBeginImageContext в iOS 17 #194

Closed CroperMR closed 7 months ago

CroperMR commented 8 months ago
Screenshot 2024-01-25 at 16 16 19
mobile-ads-github commented 8 months ago

Спасибо за Ваше обращение, для разбора создана задача с номером PCODESUP-2847. Мы ознакомимся и вернемся с ответом в течение 2 дней, возможно запросим дополнительную информацию.

Thank you for your message, a task with the number PCODESUP-2847 has been created for analysis. We will get acquainted and return with the answer within 2 days, we may request additional information.

mobile-ads-github commented 8 months ago

Добрый день! Исправили проблему в версии SDK 6.3.0

CWftw commented 8 months ago

For those of us with apps in production on 5.x, we seem to be getting a spike of these crashes yesterday and today. Is there anything we can do to mitigate them?

mobile-ads-github commented 7 months ago

We only reproduced this crash when calling our banner API with a zero size (height, width or both) on ios 17+. Make sure you never pass a zero size to the banner API. We fixed this issue in SDK 6.3.0, but we can't do anything for previous versions.

thomasmso commented 7 months ago

@mobile-ads-github - which "banner API" are you referring to?

mobile-ads-github commented 7 months ago

@thomasmso YMABannerAdSize We reproduced this crash when creating a YMABannerAdSize with a zero size. There may be other ways to reproduce this crash, but we haven't found any. We have removed the problematic code in SDK 6.3.0