appconsent-reactnative

AppConsent® cmp, the transparency-based consent management platform.

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
appconsent-reactnative
1.0.12 years ago3 years agoMinified + gzip package size for appconsent-reactnative in KB

Readme

appconsent-reactnative
npm version types license install size minizipped size downloads monthly downloads total
SFBX
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 the NSUserTrackingUsageDescription key in the Info.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