Closed hortopan closed 6 months ago
iOS UMPConsentStatus status = [UMPConsentInformation.sharedInstance consentStatus]; ENUM differs from the android version which creates an issue when checking for consent status and resulting in form not being shown on iOS in some cases.
More specifically, on [IOS]:(https://developers.google.com/admob/android/privacy/api/reference/com/google/android/ump/ConsentInformation.ConsentStatus)
UMPConsentStatusUnknown = 0 UMPConsentStatusRequired = 1 UMPConsentStatusNotRequired = 2 UMPConsentStatusObtained = 3
while on Android
UNKNOWN = 0 NOT_REQUIRED = 1 REQUIRED = 2 OBTAINED = 3
We could either fix this here or do a fix in the admob gdscript side of things, but I believe this would be cleaner.
thank you so much for this fix!
Thank you for a great plugin!
iOS UMPConsentStatus status = [UMPConsentInformation.sharedInstance consentStatus]; ENUM differs from the android version which creates an issue when checking for consent status and resulting in form not being shown on iOS in some cases.
More specifically, on [IOS]:(https://developers.google.com/admob/android/privacy/api/reference/com/google/android/ump/ConsentInformation.ConsentStatus)
UMPConsentStatusUnknown = 0 UMPConsentStatusRequired = 1 UMPConsentStatusNotRequired = 2 UMPConsentStatusObtained = 3
while on Android
UNKNOWN = 0 NOT_REQUIRED = 1 REQUIRED = 2 OBTAINED = 3
We could either fix this here or do a fix in the admob gdscript side of things, but I believe this would be cleaner.