appconsent-reactnative
v1.0.1
Published
AppConsent® cmp, the transparency-based consent management platform.
Downloads
247
Maintainers
Readme
appconsent-reactnative
AppConsent® cmp, the transparency-based consent management platform.
Getting started
Setup the environment for react-native as explained here.
npm install appconsent-reactnative --save
iOS
Run pod install
.
:memo: AppConsent SDK supports the new
App Tracking Transparency
framework (> iOS 14+ available).You must register theNSUserTrackingUsageDescription
key in theInfo.plist
file of your application.
The documentation for the iOS AppConsent framework can be found here.
Android
In project/build.gradle
, add this maven url in the allprojects/repositories block.
allprojects {
repositories {
maven {
url "https://artifactory.datalf.chat/artifactory/app-consent-v2-release"
}
}
}
The Documentation for the Android AppConsent framework can be found here.
Usage
import AppConsent from 'appconsent-reactnative';
// Configure at launch (appKey:forceApplyGDPR:forceATT)
AppConsent.configureWith("appKey", true, true);
Documentation
Our detailed documentation is accessible at https://docs.sfbx.io.
License
MIT