Supported on: iOS SDK
1.0.61+Get Config Values
Read values using theget method. Returns Any? — you cast to the expected type on your side.
Module Access
Module Methods
When Config Refreshes
The SDK refreshes remote config automatically:- On app launch — if the cached config has expired (default TTL: 1 hour)
- On return from background — same TTL check
- Background fetch — the SDK checks for updates periodically
AppDNA.remoteConfig.refresh(). If the fetch fails (no connectivity, timeout), the SDK continues using the cached values. On first launch with no connectivity, bundled config defaults are used.
The config TTL is configurable via
AppDNAOptions(configTTL: 7200) (in seconds). The default is 3600 seconds (1 hour).Listen for Config Changes
Register a closure to be notified when remote config values change after a refresh:Full Example
Remote config values are managed in the Console under Settings > Remote Config. Changes take effect on the next SDK config refresh (within the TTL window).

