Version
Release Date
Notes
3.2.0
2025-03-24
- Added internal functionality to call Firebase consent APIs when consent mode support is configured through Privacy & messaging .
3.1.0
2024-10-30
- To support testing with regulated US states, added the following options to
ConsentDebugSettings.DebugGeography
: -
DEBUG_GEOGRAPHY_REGULATED_US_STATE
-
DEBUG_GEOGRAPHY_REGULATED_OTHER
- Deprecated
DEBUG_GEOGRAPHY_NOT_EEA
. UseDEBUG_GEOGRAPHY_OTHER
instead.
3.0.0
2024-07-11
- Increased the minimum Android API level to 21.
- Updated
canRequestAds
to returntrue
when the app has no privacy messages configured. - Improved privacy message rendering behavior during orientation changes.
- Fixed a bug where privacy messages did not cover the full screen for apps displaying edge-to-edge content.
- Official release version for the ads personalization controls message.
2.2.0
2024-01-24
- Removed all use of Advertising ID.
- Emulators are now automatically recognized as test devices when testing UMP forms.
2.1.0
2023-07-24
This release introduces several new APIs to simplify the consent gathering process. Adopting these new APIs is not required for existing integrations.
- Calling
requestConsentInfoUpdate()
is now required before interacting with other public APIs. Before calling it, the following are returned:-
ConsentStatus
returnsConsentStatus.UNKNOWN
-
PrivacyOptionsRequirementStatus
returnsPrivacyOptionsRequirementStatus.UNKNOWN
-
ConsentInformation.canRequestAds
returnsfalse
-
- Added a helper method
canRequestAds()
. - Added a static method
UserMessagingPlatform.loadAndShowConsentFormIfRequired()
to combine load and show calls. This method is intended for the use case of showing a form if needed when the app starts. - Privacy Options
- Added
getPrivacyOptionsRequirementStatus()
to indicate whether privacy options are required to be shown in this session. - Added a static method
showPrivacyOptionsForm()
to be called when users interact with your app's privacy setting. - Enabled hardware acceleration on the consent form's window to improve performance of the consent form in game engines such as Unity.
2.0.0
2021-07-12
- Removed the
ConsentInformation.ConsentType
IntDef and theConsentInformation.getConsentType()
method.
1.0.0
2020-07-07
- General Audience release of the Google UMP SDK.