DefaultConsentRepository
Implementation of ConsentRepository that delegates UMP work to a remote data source.
Parameters
breadcrumbs that trace the consent lifecycle; the repository reports no analytics events.
applies the person's consent to the telemetry SDKs' collection switches.
scope that owns the shared, process-wide consent round trip. It defaults to the immediate main dispatcher because UMP requires its entry points to be called from the main thread.
Constructors
Functions
Applies the provided consent settings to Firebase services.
Reads the stored consent choices and applies them to Firebase services. Unset choices are granted in release builds and refused in debug builds.
Requests consent, sharing one UMP round trip between callers that ask at the same time, since overlapping requests drive the SDK into the failure path that crashes the process from its own executor. A host that is finishing or destroyed is rejected before UMP is called.