CONSENT MANAGEMENT SDK INTEGRATION


In this detailed guide, we take you through the steps required to integrate the library with your Android and iOS app.

GETTING THE INTEGRATION KEY
 
STEP 1 - After a legal contract has been signed between the Publisher and Quadrant, an invitation will be sent to Publisher’s email redirecting them to register to the platform.
 
Screenshot 2020-12-23 at 20.40.04
 
STEP 2 - Register on the Quadrant Publisher Platform
 
2-Jul-01-2021-06-22-46-69-AM
 
STEP 3 - Once you're logged in, click PUBLISHER DASHBOARD from the menu on the left. This will display your publisher dashboard.
 
3-Jul-01-2021-06-25-30-83-AM
 
STEP 4 - Add your App, and choose 'Consent' as SDK type, select your desired OS Type, fill in all the required fields, and submit. What you fill in is what you will see in the consent form later in the app integrated with SDK.
 
c3
 
STEP 5 - Once submitted, your app will be enlisted, but the Integration key will not be displayed yet. At this point, you require an admin's approval. The admin will be automatically notified and can take the needful action.
 
5
 
STEP 6 - Once approved, your integration key will be displayed on the dashboard. You need to distribute this integration key to your app developers.
 
c4
 

INTEGRATING THE SDK - ANDROID

Latest version: 1.0.19

Setting.gradle or build.gradle(project level) file
 

build.gradle (app level)

 

JAVA

To implement java implement instance

 

implement open consent form if needed. notes: this function will check for user country location to display needed consent(GDPR/CCPA/No consent needed).

 

 

implement request compliance

 

implement this if you don't want to use our checking user location and want directly display GDPR/CCPA form

 

 

to get the necessary String resource on GDPR

 

 

to get the necessary String resource on CCPA

 

 

KOTLIN

Implement instance

 

 

implement open consent form if needed. notes: this function will check for user country location to display needed consent(GDPR/CCPA/No consent needed).

 

 

implement request compliance

 

 

implement this if you don't want to use our checking user location and want directly display GDPR/CCPA form

 

 

to get the necessary String resource on GDPR

 

 

to get the necessary String resource on CCPA

 

 
 
 

if you want enable proguard in your release app, add this to your proguard rules file

 

Congratulations! You have successfully integrated the library into your android project!
 
Click here for a reference on Github
 

Sample GDPR Form:

GDPR sample screens

Sample Compliance Request (Delete and Request Data form):

 

Sample Compliance Request (Delete and Request Data form)

 

INTEGRATING THE SDK - iOS

STEP 1 - Installation using Cocoapods

Add this line in your Podfile:
  • pod "QcmpSDK", :git => 'https://github.com/datastreamx-plc/QcmpSDK.git'

and then install by type pod install in your command line

STEP 2 - Setup integration key

Register your integration key after app launch, usually your AppDelegate.swift

import QCMP_SDK to use this framework
Set up your integration key and error handle in didFinishLaunchingWithOptions 


    • USING COMPLIANCE SDK

      • Register your integration key after app launch, usually your AppDelegate.swift

        • import QCMP_SDK to use this framework

        • You can use  openConsentForm(_ complianceType: ComplianceType) to open compliance form based on ComplianceType enum: GDPR or CCPA.

        • You also can use request compliance action by ComplianceRequest enum: REQUEST_OPTOUT, REQUEST_DO_NOT_SELL, REQUEST_DELETE_DATA or REQUEST_ACCESS_DATA

        you can see the example of code below:

      •  

Ready to add the Consent Management SDK into your app?
Speak to our data consultant to get started