theprivacylabs_consent 0.2.1 copy "theprivacylabs_consent: ^0.2.1" to clipboard
theprivacylabs_consent: ^0.2.1 copied to clipboard

DPDP-compliant consent management SDK for Flutter apps. Manage user privacy preferences across iOS and Android.

Changelog #

0.2.1 #

  • Fixed: Default API base URL corrected to https://theprivacylabs.com

0.2.0 #

  • Multi-language translation support (DPDP Act scheduled languages)
  • New: getConsentConfig() — fetches banner config with all translations in one API call
  • New: setLanguage(langCode) — switch current display language
  • New: getText(key, {lang}) — get translated text for any key
  • New: currentLanguage getter — current active language
  • New: availableLanguages getter — list of available translations
  • New: consentConfig getter — cached config data
  • New types: ConsentTranslation, LanguageInfo, ConsentConfigData
  • Server-side Geo-IP language detection (auto-detects user's regional language)

0.1.1 #

  • Fixed: Removed incorrect plugin declaration (pure Dart package, no native code needed)

0.1.0 #

  • Initial release
  • Consent management for Flutter apps
  • Support for iOS and Android
  • Cross-device consent sync
  • Identity linking for logged-in users
  • Local storage with SharedPreferences
  • API client for Privacy Labs backend
0
likes
140
points
22
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

DPDP-compliant consent management SDK for Flutter apps. Manage user privacy preferences across iOS and Android.

Homepage
Repository (GitHub)

License

MIT (license)

Dependencies

flutter, http, shared_preferences

More

Packages that depend on theprivacylabs_consent