SFBX (AppConsent) CMP
Last updated
Last updated
Add the needed maven repository to your list:
Add the SFBX CMP dependency to your build.gradle:
Make sure, your SFBX CMP has been set up at its backend dashboard. Our support recommends certain vendors to be included in your server-side setup in order to yield optimal revenues.
Follow the instructions in the Managed Consent .
Create an instance of CMPAppConsent
(CMPAppConsent
implements CMP
interface).
Pass the created CMPAppConsent
instance while creating the ManagedConsent using the public constructor ManagedConsent(cmp: CMP, context: Context, delegate: ManagedConsent.ManagedConsentDelegate)
.