Policy Content Loader
Component Detail
Service Layer
low complexity
mobile
0
Dependencies
0
Dependents
0
Entities
0
Integrations
Description
Service responsible for resolving the privacy policy content source - returning the bundled asset version for offline use or fetching a remote version when available. Handles version metadata and caching so the screen always renders the latest accepted copy.
policy-content-loader
Responsibilities
- Load bundled privacy policy asset as primary offline source
- Optionally fetch remote policy content and cache it locally
- Expose version string and last-updated date alongside policy body
- Return cached remote version when network is unavailable
Interfaces
loadContent() → Future<PolicyContent>
getCachedVersion() → PolicyContent?
fetchRemoteContent() → Future<PolicyContent>