Didomi now supports native integrations with Firebase andAAP SDKs. Usethis new guidefor a simplified setup.
In the code of your Mobile app make sure you no longersetConsentfor Google consent mode.
What is Google Consent Mode v2?
Google Consent Mode v2 (GCM v2) is a framework that lets you adjust Google services’ behavior based on user consent for analytics and advertising. It introduces new consent types:
ad_user_data
ad_personalization
ad_storage
analytics_storage
These signals help ensure compliance with privacy regulations (e.g., GDPR) while maintaining accurate measurement.
How Does It Work on Apps?
On mobile apps, GCM v2 works through SDKs such as Firebase and Google Ads SDK. These SDKs rely on consent signals provided programmatically at runtime. Consent signals must be passed early in the app lifecycle to ensure Google SDKs respect user choices.
Requirements
The minimum Didomi mobile SDK version that supports the Firebase SDK and Google Ads SDK are as follows:
iOS/tvOS: > v2.27.0
Android: > v2.27.0
How Does Didomi Support It?
Didomi simplifies integration by:
Capturing user consent through its Consent notice.
Computing GCM signals based on user decisions.
Passing these signals to Firebase and Advanced App Partners (AAP) like Airbridge, AppsFlyer, Branch and Kochava.
Keeping signals in sync with any changes in user consent.
How Do We Compute User Status Before Passing It to GCM?
The Didomi SDK calculates GCM signals based on vendor consent:
If Google Advertising Products vendor (SDK ID: google) has full consent: