Didomi is a leading Consent Management Platform that allows companies to collect, store, and leverage user consent under GDPR, CCPA, and other data privacy regulations. This plugin enables Flutter developers to get in compliance and optimize their consent rate and monetization on native mobile apps.
This repository contains the source code and a sample app for the Didomi Flutter
plugin. This plugin enables Flutter developers to easily use Didomi's Consent Management Platform on Android and iOS apps.
The plugin provides an interface for collecting consent that is used by your dart code.
Check out our releases for the latest official version of the plugin.
For instructions on installing and using the plugin, please read our documentation:
Clone this repository and open the example/
folder.
All test scenarios are located in example/integration_test/
cd ./example
// Single test
flutter test "integration_test/<FILENAME>.dart"
// Bulk test
flutter test integration_test
cd ./example/android/
// Single test
./gradlew app:connectedAndroidTest -Ptarget=`pwd`/../integration_test/<FILENAME>.dart
// Bulk test
./gradlew bulk
cd ./example/
xcodebuild -workspace ios/Runner.xcworkspace -scheme "RunnerTests" -enableCodeCoverage YES -destination "platform=iOS Simulator,name=iPhone 8,OS=14.5" test
To file bugs, make feature requests, or to suggest other improvements, please use Github's issue tracker.
This plugin is released under the LGPL 3.0 license.