shield_consent 1.0.0-beta.3
shield_consent: ^1.0.0-beta.3 copied to clipboard
DPDPA Shield consent management for Flutter — DPDPA 2023 (India) compliant consent collection, guardian-OTP parental consent, offline queue, and ShieldGate purpose gating.
1.0.0-beta.3 #
- Added
externalId(optional) torecordDecision()— your own internal user ID (e.g. your users table primary key), sent as-is, never hashed, so you can correlate a consent record back to your own database later viaGET /consent/by-external-id/:externalId. - Fixed a native Android build failure:
ShieldConsentPlugin.ktimportedShieldApiResultfrom the wrong package (com.dpdpashield.sdk.coreinstead ofcom.dpdpashield.sdk.core.net), which broke every consumer's Android build.
1.0.0-beta.2 #
- Fix: removed unused
package:flutter/services.dartimport. - Updated repository URL to github.com/DPDPA-Shield/flutter-plugin.
1.0.0-beta.1 #
- Initial beta release.
ShieldConsent.init(),loadNotice(),localize(),recordDecision(),restoredDecision(),flushQueue()ShieldGate.isConsented(),runIfConsented(),observeConsented()NoticeLocalizer— 22-language per-field fallback, pure Dart- Android bridge via
ShieldConsentPlugin(MethodChannel + EventChannel) - 12/12 pure-Dart tests passing