Privacy Policy Content Service
Component Detail
Service Layer
low complexity
mobile
0
Dependencies
1
Dependents
1
Entities
0
Integrations
Description
Retrieves the privacy policy content either from a bundled static asset or a backend/CMS endpoint, enabling policy updates without a full app release. Exposes version metadata and triggers re-consent prompts when material changes are detected.
privacy-policy-content-service
Responsibilities
- Load policy content from bundled asset or remote endpoint
- Expose current policy version and last-updated timestamp
- Detect material policy changes and signal re-consent requirement
- Cache remote content for offline availability
Interfaces
getPolicyContent() -> PolicyContent
getPolicyVersion() -> String
getLastUpdatedAt() -> DateTime
hasMaterialChangeSince(DateTime lastConsent) -> bool
refreshFromRemote() -> Future<void>