![]() |
Mobile Ads SDK Team |
Hi,
It appears to be an intended behavior. According to the IAB, there is a requirement to display a consent pop-up for users in the European Economic Area (EEA), but no such requirement exists for users outside the EEA. If a user first logs in from a non-EEA location, all ads will be served. However, If the user declines consent, limited ads will be served.
If a user transitions from a non-EEA location to an EEA location, the IABTCF_gdprApplies flag will change and the user will be given the option to update their consent preferences. Conversely, if a user transitions from an EEA location to a non-EEA location, consent is no longer applicable and ads will be served normally. This is similar to the iOS ATT pop-up. If the user grants permission, ads will be served regardless of the user's location.
For debugging purposes, you can use the UMPConsentInformation reset method to reset the consent logic. This will reset the IABTCF_gdprApplies flag and all other consent-related settings.
To resolve your current issue, you should store the user's previous region in the device's defaults. If the user's previous region was the EEA and their current region is non-EEA, and the user has previously granted consent, you should reset the consent settings and proceed accordingly.
This should resolve your current issue.
Kindly get back to us if you need any other help related to Mobile Ads SDK.