securiti_consent_sdk 1.142.0
securiti_consent_sdk: ^1.142.0 copied to clipboard
A Flutter plugin for managing user consent preferences and compliance with privacy regulations. Integrates with Securiti's Consent Management Platform.
1.142.0 #
- Final release for Securiti consent mobile SDK
- Production-ready version
- Multi-platform integration
1.141.0 #
- Final release for Securiti consent mobile SDK
- Production-ready version
- Multi-platform integration
Changelog #
All notable changes to the Securiti Consent SDK Flutter Plugin.
1.141.0-26rc - 2026-01-02 #
🐛 Bug Fixes #
- Fixed missing abstract method implementations in test mock class
- Added
getGCMConfig()implementation - Added
getGCMConsents()implementation
- Added
- Fixed unused import warning in
gcm_config.dart - Fixed code style: Used null-aware operator in
consent_sdk_plugin_method_channel.dart
📦 Package Publishing #
- Added false_secrets configuration for example Google service files
1.141.0 - 2025-01-11 #
✨ New Features #
- Google Consent Mode v2 Integration: Full support for Google Consent Mode
- Added
getGCMConsents()API method returningMap<GoogleConsentType, Purpose> - Added
GoogleConsentTypeenum with four consent types:analyticsStorage- Controls consent for analytics cookies/storageadStorage- Controls consent for advertising cookies/storageadUserData- Controls consent for sending user data to GoogleadPersonalization- Controls consent for personalized advertising
- Automatic mapping of Securiti purposes to Google consent types
- Native implementation for both Android and iOS
- Added
📦 Dependency Updates #
Android:
- Securiti Consent SDK:
1.140.0→1.141.0(includes Google Consent Mode support) - Kotlin version:
1.8.22→1.9.22 - Gradle build tools:
8.1.0→8.2.2 - Kotlin Coroutines:
1.6.4→1.7.3 - Added Kotlin Coroutines Android:
1.7.3 - Added AndroidX Lifecycle Runtime KTX:
2.6.2 - Added AndroidX Activity KTX:
1.8.1 - Mockito:
5.0.0→5.7.0 - Maven repository: Changed to production URL (
https://cdn-prod.securiti.ai/consent/maven)
iOS:
- Securiti ConsentUI:
1.1.141.0-10rc→1.1.141.0(stable release) - Minimum iOS version:
13.0→15.0
📚 Documentation #
- Added comprehensive Google Consent Mode integration guide
- Added "Updating Dependencies" section with version compatibility table
- Added Firebase Analytics integration examples
- Added Google Mobile Ads (AdMob) integration examples
- Added complete working example with StatefulWidget
- Added consent syncing service example
- Added testing guidelines and best practices
- Added troubleshooting section
- Updated setup instructions for both Android and iOS
- Added minimum requirements documentation
🔧 Improvements #
- Improved error handling in Google Consent Mode implementation
- Better type safety with strongly-typed return values
- Enhanced logging for debugging
⚠️ Breaking Changes #
- iOS minimum version increased from 13.0 to 15.0
- If your app needs to support iOS 13-14, stay on version 1.140.0
- iOS 15+ covers 95%+ of active iOS devices
🐛 Bug Fixes #
- Fixed type conversion in
getGCMConsents()method channel implementation - Improved null safety handling across all platforms
1.140.0 2024-12 #
Features #
- Added initial Google Consent Mode support
- Improved consent management APIs
- Enhanced error handling
1.132.0 #
- iOS Accessibility bugs fixed
1.131.0 #
- All the Consent Core methods are now available in the plugin
1.130.0 #
- Initial release of the consent SDK plugin
- Implemented core consent management features:
- Setup SDK functionality
- Present consent banner
- Present preference center
- Added support for Android and iOS platforms
- Added configuration options for SDK initialization
Migration Guide #
Migrating from 1.140.0 to 1.141.0 #
- Update pubspec.yaml:
dependencies:
securiti_consent_sdk: ^1.141.0
- Update iOS deployment target to 15.0 in
ios/Podfile:
platform :ios, '15.0'
- Update dependencies:
flutter pub get
cd ios && pod update && cd ..
- Optional: Integrate Google Consent Mode
import 'package:securiti_consent_sdk/models/google_consent_type.dart';
Map<GoogleConsentType, Purpose> gcmConsents =
await _consentSdkPlugin.getGCMConsents();
See the README for complete integration guide.