SFBX/AppConsent
Requirements
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.
Usage
Follow the instructions in the Managed Consent introduction section.
SFBX CMP needs an Activity instance when being created.
Create an instance of
CMPAppConsent
(CMPAppConsent
implementsCMP
interface).Pass the created
CMPAppConsent
instance while creating the ManagedConsent using thepublic constructor ManagedConsent(cmp: CMP, context: Context, delegate: ManagedConsent.ManagedConsentDelegate)
.
Last updated