Starting on February 25, 2025, Android Google User Messaging platform SDK will return ConsentStatus.OBTAINED for calls to ConsentInformation.getConsentStatus() when all of the following happen:
The user is located in the US.
The app calls UserMessagingPlatform.showPrivacyOptionsForm() and the user makes a selection.
Previously, the status remained ConsentStatus.NOT_REQUIRED even after the user saw the privacy options form.
Why is this change happening?
This change is a side effect of a bug fix to remove a toast message saying "We are getting something wrong with the webview.” when the US states regulation message is shown through a privacy options flow and a consent decision is made.
What do I need to do?
If you query ConsentInformation.getConsentStatus(), then check that your code can handle a return value of ConsentStatus.OBTAINED. Generally, we expect that NOT_REQUIRED and OBTAINED are handled the same way outside of logging/debugging purposes.
A common use case is to check if your code is ready to show ads. If you use ConsentInformation.canRequestAds(), your code will be unaffected by this change.
If you have any questions or concerns, you can reach out to us through our developer forum.
- Mobile Ads SDK Team