ChartBoost / chartboost-mediation-unity-sdk

Chartboost Mediation Unity SDK provides support for Unity based games to easily integrate Chartboost Mediation for Android & iOS platforms
https://www.chartboost.com/mediate
MIT License
8 stars 3 forks source link

[HB-6642] Update Usage of Getting Screen Scale on iOS17+ #195

Closed bwised closed 12 months ago

bwised commented 12 months ago

Title

HB-6642 Replace usage of UIScreen.Main.Scale on native IOS bridge since it is marked deprecated

Description

UIScreen.main is deprecated. Mimic'd the Swift implementation in the iOS native SDK as closely as possible from https://github.com/ChartBoost/ios-helium-sdk/pull/1314.

Type of change

Checklist:

github-actions[bot] commented 12 months ago

Test Results

1 tests  ±0   1 :heavy_check_mark: ±0   0s :stopwatch: ±0s 1 suites ±0   0 :zzz: ±0  1 files   ±0   0 :x: ±0 

Results for commit 620ea539. ± Comparison against base commit 4aff2437.