Releases: defold/extension-admob
Releases · defold/extension-admob
New function `admob.set_max_ad_content_rating()`
Added new function admob.set_max_ad_content_rating()
admob.set_max_ad_content_rating(admob.MAX_AD_CONTENT_RATING_PG)
-- admob.MAX_AD_CONTENT_RATING_G
-- admob.MAX_AD_CONTENT_RATING_PG
-- admob.MAX_AD_CONTENT_RATING_T
-- admob.MAX_AD_CONTENT_RATING_MA
Use `DM_LUA_ERROR ` for error messages
- Use
DM_LUA_ERROR
for Lua error messages.
Updated to use dmScript::LuaToJson()
Compatible with Defold 1.4.0+
Updated SDKs: Android SDK 21.3.0 and iOS SDK 9.12.0
- Android SDK 21.3.0 (2022‑10‑10)
- iOS SDK 9.12.0 (2022‑10‑24)
Banner cut by navigation bar
- Fix issue when banner cut by navigation bar #20
Fix typos in `script_api`
Fix typo when autocomplete in some cases use admod
module name instead of admob
Updated SDKs: Android SDK 20.5.0 and iOS SDK 8.13.0
- Android SDK 20.5.0 (2021‑11‑18)
- iOS SDK 8.13.0 (2021‑11‑17)
- New events for Interstitial and Rewarded videos:
admob.EVENT_CLICKED
Smaller mutex scope + use new SDK android methods (Defold 1.2.188)
- Use smaller scope for the callback's mutex to avoid possible ANRs/Crashes
- Use new Defold SDK API (1.2.188) for attaching VM thread and loading java class
Add `AVFoundation` dependency
- Add
AVFoundation
dependency to be able to build extension using 1.2.189
Truncated banner in landscape orientation on Android
- Fixed issue when top-positioned banners are truncating in landscape mode on displays with rounded corners (Android 9+ devices : Xiaomi Mi 9 SE and some others)
Thanks @alexeyfeskov