appconsent_clear

pub package

“SFBX”

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

                             Demo Android Version                Demo iOS Version


Documentation

Our detailed documentation is accessible at https://docs.sfbx.io.

Getting Started

Here are several different implementation methods

First example

First, initialize AppconsentClear with the setup method, making sure it is initialized by placing the keyword await in front of it. Then display the CMP when you want.

import 'package:appconsent_clear/appconsent_clear.dart';

// Configure at launch (appKey:forceApplyGDPR:forceATT)
await AppconsentClear.setup("YOUR_APP_KEY", true, true);

// Display the CMP if needed after setup
AppconsentClear.presentNotice(false);

Second example

Initialize AppconsentClear with the setup method then call AppconsentClear.presentNotice(false)

import 'package:appconsent_clear/appconsent_clear.dart';

// Configure at launch (appKey:forceApplyGDPR:forceATT)
AppconsentClear.setup("YOUR_APP_KEY", false, true)
.then((value) => AppconsentClear.presentNotice(false));