Service Layer medium complexity mobile
1
Dependencies
1
Dependents
8
Entities
0
Integrations

Description

Business logic service that determines whether a given field requires a readout warning based on the organisation-level sensitivity configuration. Fetches and caches the sensitivity field list from the backend, evaluates field identifiers against the configured sensitive fields, and provides the placeholder text to announce when readout is declined.

Feature: Sensitive Field Readout Warning

readout-warning-service

Responsibilities

  • Fetch organisation-level sensitive field configuration from backend API
  • Cache sensitivity configuration locally for offline access
  • Evaluate whether a specific field ID is marked as sensitive
  • Provide configurable placeholder text for declined readout
  • Detect active screen reader state on the device

Interfaces

isFieldSensitive(String fieldId)
getSensitiveFields()
getPlaceholderText(String fieldId)
refreshSensitivityConfig()
isScreenReaderActive()
onSensitivityConfigChanged(callback)

Relationships

Dependencies (1)

Components this component depends on

Dependents (1)

Components that depend on this component