Never Play Matchmaker

    appconsent-reactnative
    TypeScript icon, indicating that this package has built-in type declarations

    1.0.0 • Public • Published

    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.

    📝 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

    Install

    npm i appconsent-reactnative

    Homepage

    sfbx.io

    DownloadsWeekly Downloads

    213

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    45.2 kB

    Total Files

    21

    Last publish

    Collaborators

    • sfbxdeveloper