Module which collects and saves user's consent in accordance with the standard TCF2.0
The documentation can be found at https://developer.ringpublishing.com/Money/docs/GDPRConsentManager/index.html.
Integration tutorial:
How consents are stored:
Reference guide:
https://developer.ringpublishing.com/Money/docs/GDPRConsentManager/reference/gdpr-android-sdk.html.
- Android API >= 21
- AndroidX
List permissions used in module:
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
- Add to your main build.gradle script section to GitHub repository
maven {
name = "RingPublishingGDPR-Android"
url = uri("https://maven.pkg.github.com/ringpublishing/RingPublishingGDPR-Android")
credentials {
username = "your github username"
password = "you github access token"
}
}
- Add to your application project module dependencies section
implementation("com.ringpublishing:gdpr:1.7.+")
- Checkout code from GitHub
- Add RingPublishingGDPR like module to your project
In settings.gradle add:
include ':yourApplication', ':RingPublishingGDPR'
In your application build.gradle add dependency
implementation project(path: ':RingPublishingGDPR'))
Sync project and start looks usage in demo project. Start look in class DemoApplication.java
Start by importing RingPublishingGDPR
:
import com.ringpublishing.gdpr.RingPublishingGDPR;
then you have access to module instance:
RingPublishingGDPR.getInstance()
For detailed example see example project in demo
directory and start with class DemoApplication, SplashActivity and MainActivity or check our documentation.