theprivacylabs_consent 0.2.1
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:
currentLanguagegetter — current active language - New:
availableLanguagesgetter — list of available translations - New:
consentConfiggetter — 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