RemoteConfigManager

Manages remote configuration lifecycle: receive, validate, apply, rollback.

Security Controls:

  • BSI APP.4.4.A3: Signature verification for config integrity

  • BSI APP.4.4.A5: Version monotonicity prevents rollback attacks

  • ISO 27001 A.12.4: All state transitions are audited

Thread Safety: All public methods are suspend functions with mutex protection.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard

Observe configuration changes as a Flow.

Link copied to clipboard
fun getAbVariant(experimentId: String, variants: List<String>): String

Get A/B test variant for an experiment.

Link copied to clipboard

Get the current active config version.

Link copied to clipboard

Get available versions for rollback.

Link copied to clipboard

Process an incoming config bundle from managed config or FCM.

Link copied to clipboard
suspend fun rollbackToVersion(targetVersion: Long): ConfigRollbackResult

Rollback to a previous config version.