consentsdkgotrust 2.0.1+1
consentsdkgotrust: ^2.0.1+1 copied to clipboard
Consent Sdk from GO Trust
Getting Started #
Consent SDK GoTrust #
consentsdkgotrust is a Flutter plugin designed to streamline consent management in your app while allowing flexible and user-friendly integrations for legal compliance and user preferences.
Features #
- Consent Management: Simplified user consent collection and tracking.
- Preference Center: Provide a dedicated screen for managing user preferences.
- Customizable Flow: Design your consent and preference center screens to suit your needs.
- Cross-Platform Support: Fully compatible with Android and iOS.
Installation #
Add the following to your pubspec.yaml file:
yaml #
dependencies: consentsdkgotrust: ^1.0.1+4
Then, fetch the package: flutter pub get
Usage #
Define Routes in MaterialApp
You can use the SDK by defining routes for the Consent Form and Preference Center screens in the MaterialApp widget:
void main() => runApp( MaterialApp( initialRoute: '/prefcenter', routes: { '/': (context) => const ConsentFormScreen("2901","abcxx@gmail.com"), '/prefcenter': (context) => const SubjectIdentityLoginScreen(cid: "29",pfid: "3",sVal: "abcxx@gmail.com"), }, debugShowCheckedModeBanner: false, )
);
Support #
Contributing Contributions are welcome! Please feel free to submit issues, feature requests, or pull requests on the GitHub repository.