appconsent_classic 2.0.0 copy "appconsent_classic: ^2.0.0" to clipboard
appconsent_classic: ^2.0.0 copied to clipboard

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

appconsent_classic #

pub package

“SFBX”

                             Demo Android Version                Demo iOS Version


Getting Started #

Here are several different implementation methods

First example #

First, initialize AppconsentClassic 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_classic/appconsent_classic.dart';

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

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

Second example #

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

import 'package:appconsent_classic/appconsent_classic.dart';

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

Documentation #

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

4
likes
160
points
33
downloads

Publisher

verified publishersfbx.io

Weekly Downloads

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

Homepage

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on appconsent_classic