Use Google UMP in conjunction with mobile ad SDKs to collect user consent with Blueprints or C++. This plugin supports both Android and iOS, and allows you to:
Manage GDPR and regulated US states (CCPA) consent flows.
Show consent and privacy forms to the users.
Check consent requirement status.
Read consent choices (IABTCF_PurposeConsents, IABGPP_GppSID, etc.)
Set IDFA message on iOS.
Test your implementation against various regions where GDPR and Privacy Regulations might apply.
DOCUMENTATION