ConfigurationAPI

Fetches and caches third-party service configurations from the Frame API.

Each method retrieves a configuration object from the network, persists it to SecureConfigurationStorage, and returns the parsed response. Both coroutine (suspend) and callback variants are provided for each service.

After getAllConfiguration warms the cache (or any individual fetch succeeds), later callers of the per-service getters resolve from storage instead of firing duplicate network requests for the same launch. A block not refreshed this launch is fetched again, falling back to its stored value if that fetch fails.

Functions

Link copied to clipboard

Fetches every configuration block in one request and caches each present block under the same storage key its individual endpoint uses, turning those fetches into cache hits. An omitted block is skipped rather than cleared, so its individual getter still refreshes it and falls back to the stored value if that fails.

Link copied to clipboard

Fetches the Evervault configuration from the API and caches it locally.

Fetches the Evervault configuration from the API and caches it locally, delivering the result via a callback.

Link copied to clipboard

Fetches the Fingerprint configuration from the API and caches it locally.

Fetches the Fingerprint configuration from the API and caches it locally, delivering the result via a callback.

Link copied to clipboard

Fetches Frame's legal document URLs from the API and caches them locally.

Link copied to clipboard

Fetches the Mapbox address-autocomplete configuration from the API and caches it locally.

Link copied to clipboard

Fetches the Sift configuration from the API and caches it locally.

Fetches the Sift configuration from the API and caches it locally, delivering the result via a callback.