diff --git a/hmm.json b/hmm.json index 51d128bfe..89e979f97 100644 --- a/hmm.json +++ b/hmm.json @@ -18,7 +18,7 @@ "name": "extension-admob", "type": "git", "dir": null, - "ref": "356d94f01866688f86dc182603126d2a2c3d01c9", + "ref": "cb921a591bdb2dba604decf44cd8f5c3fbbe969b", "url": "https://github.com/FunkinCrew/extension-admob" }, { diff --git a/source/funkin/mobile/util/AdMobUtil.hx b/source/funkin/mobile/util/AdMobUtil.hx index 4bcd5aea4..0de501e0c 100644 --- a/source/funkin/mobile/util/AdMobUtil.hx +++ b/source/funkin/mobile/util/AdMobUtil.hx @@ -116,7 +116,7 @@ class AdMobUtil Sys.println(event.toString()); }); - Admob.configureConsentMetadata(Admob.getTCFConsentForPurpose(0) == 1, StringTools.startsWith(Admob.getUSPrivacy(), '1Y')); + Admob.configureUnity(Admob.getTCFConsentForPurpose(0) == 1, StringTools.startsWith(Admob.getUSPrivacy(), '1Y')); Admob.init(#if TESTING_ADS true #else false #end); }