
Server-driven remote configuration: fetch, evaluate and render server-authored UI (dialogs, banners, sheets, full-screen) matching app Material theme; headless core, dynamic renderer, dashboard/backend integration.
Server-driven remote config for Kotlin Multiplatform — change what your app shows without shipping a release.
Point the SDK at a publishable key, drop one composable in your tree, and a dialog, bottom sheet, banner or full-screen takeover renders from the server in your app's own Material theme — plus Firebase-style typed parameters, conditions, A/B experiments and native ad slots:
startKoin {
modules(module {
remoteConfig {
publishableKey = "rck_live_…" // issued per app + platform in the dashboard
packageName = "com.example.app"
appVersion = "1.0.0"
httpClient = HttpClient() // your engine; the SDK ships none
}
})
}
@Composable fun HomeScreen() {
RemoteConfigHost(RemoteConfigTemplate.UpdateAvailable, RemoteConfigTemplate.PolicyUpdate)
}Status: 5.0.0 released (2026-12-01) — the first release served by this repo's own control plane. Dashboard: rconfig.mobilebytesensei.com · release notes · pricing (free for up to 5 apps).
Three pieces that ship as one product:
| Piece | Where | What it does |
|---|---|---|
| SDK |
cmp-remote-config + cmp-remote-config-compose
|
Fetch, evaluate, render. Headless core + Compose surface |
| Backend | supabase/ |
Postgres (RLS on every table) + Edge Functions: publishable keys, templates, parameters, conditions, experiments, events, plans |
| Dashboard | dashboard/ |
Operator UI (Next.js 16 → Cloudflare Workers via OpenNext) — author configs and parameters, target, schedule, run experiments, publish versions |
| Server SDKs |
server-sdk/ · ServerRemoteConfig · cli/ · mcp/
|
Backends read server_only values and record experiment exposures/goals; CLI and MCP server for operators |
Why the SDK is two artifacts: the Compose compiler plugin applies to every compilation and fails on any target without the Compose runtime on the class path. Splitting the renderer out is what lets a server, CLI or watch complication evaluate a config at all.
| Module | Artifact | Description | Latest |
|---|---|---|---|
| cmp-remote-config | io.github.mobilebytelabs:cmp-remote-config |
Headless — fetch, evaluate, server-driven UI document model. 15 KMP targets | |
| cmp-remote-config-compose | io.github.mobilebytelabs:cmp-remote-config-compose |
RemoteConfigHost + dialog / bottom-sheet / banner / full-screen presentations, dynamic UI renderer, Module.remoteConfig { } Koin DSL. 7 Compose-MP targets |
Target support: TARGET_MATRIX.md is the single source of truth for which KMP targets each module ships and why — measured, with JetBrains' tier list as the upstream reference.
Both modules ship together at the unified kmpremoteconfig.version:
# gradle/libs.versions.toml
[versions]
kmpRemoteConfig = "5.0.0"
[libraries]
cmp-remote-config = { module = "io.github.mobilebytelabs:cmp-remote-config", version.ref = "kmpRemoteConfig" }
cmp-remote-config-compose = { module = "io.github.mobilebytelabs:cmp-remote-config-compose", version.ref = "kmpRemoteConfig" }cmp-remote-config-compose exposes the core types as api, so depending on it alone is enough to
use the whole library. Add the headless module directly only on a target with no renderer.
Not a KMP app? Each project type has its own API and a working sample — getting started:
| Project type | API | Sample |
|---|---|---|
| Kotlin Multiplatform | Kotlin RemoteConfig + RemoteConfigHost
|
sample/ (+ Android, iOS, desktop, web shells) |
| Android only (Java / Views) |
java.RConfig + RConfigViews.templateHost
|
sampleAndroidViewsApp |
| iOS only (Swift / SwiftUI) | Swift package / pod RConfig (async/await) |
sampleIosNativeApp |
| Desktop only (JVM / Swing) |
java.RConfig + RConfigSwing.templatePanel
|
sampleSwingApp |
| Web only (TypeScript) |
@mobilebytelabs/rconfig + renderTemplates
|
sampleWebTs |
| Backend (Node) |
@mobilebytelabs/rconfig-server — createServerConfig → evaluate, reportExposure, track
|
server-sdk/ |
| Backend (JVM) |
ServerRemoteConfig in cmp-remote-config (JVM target) |
ServerEvaluatorVectorsTest |
npm: @mobilebytelabs/rconfig ·
rconfig-server ·
rconfig-cli ·
rconfig-mcp
📖 Docs site · 🚀 Releases · 📦 Maven Central
Per-module API reference ships as Dokka HTML inside each -javadoc.jar, so IntelliJ and Android
Studio surface it in hover popups automatically.
These two modules lived in KmpToolkit through
3.5.28. They moved here because remote config grew a server and a dashboard, which do not belong
in a general-purpose library collection.
The artifact coordinates are deliberately unchanged — a consumer migrates a version, not a dependency id:
remoteConfig { supabaseUrl; supabaseKey }
becomes publishableKey + packageName. See the release notes.4.0.0-alpha01 on Maven Central was published by accident from this repo's first push (it is the
3.5.28 code). Skip it.cmp-observe is not vendored here — it stays published from KmpToolkit and is consumed as
io.github.mobilebytelabs:cmp-observe. A second copy of a published module would drift.
CONTRIBUTING.md · docs conventions in docs/DEVELOPMENT.md.
./gradlew build # compile + test every target this host can build
./gradlew fix # apply Spotless formatting
./gradlew detekt # static analysis
./gradlew koverHtmlReportProduction ships from one script, in order — preflight → pending migrations → Edge Functions → dashboard → smoke (dashboard + live SDK contract) → optional publish. Dry run by default:
bash scripts/deploy.sh # plan only
bash scripts/deploy.sh --apply --confirm-production # migrations, functions, dashboard, smoke
bash scripts/deploy.sh --apply --confirm-production --publish # … and release kmpremoteconfig.versionMaven publishing runs only from the release branch or a deliberate Publish dispatch — a push to
dev cannot publish. Details: supabase/DEPLOY.md.
Copyright 2026 MobileByteLabs
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
See LICENSE for details.
Server-driven remote config for Kotlin Multiplatform — change what your app shows without shipping a release.
Point the SDK at a publishable key, drop one composable in your tree, and a dialog, bottom sheet, banner or full-screen takeover renders from the server in your app's own Material theme — plus Firebase-style typed parameters, conditions, A/B experiments and native ad slots:
startKoin {
modules(module {
remoteConfig {
publishableKey = "rck_live_…" // issued per app + platform in the dashboard
packageName = "com.example.app"
appVersion = "1.0.0"
httpClient = HttpClient() // your engine; the SDK ships none
}
})
}
@Composable fun HomeScreen() {
RemoteConfigHost(RemoteConfigTemplate.UpdateAvailable, RemoteConfigTemplate.PolicyUpdate)
}Status: 5.0.0 released (2026-12-01) — the first release served by this repo's own control plane. Dashboard: rconfig.mobilebytesensei.com · release notes · pricing (free for up to 5 apps).
Three pieces that ship as one product:
| Piece | Where | What it does |
|---|---|---|
| SDK |
cmp-remote-config + cmp-remote-config-compose
|
Fetch, evaluate, render. Headless core + Compose surface |
| Backend | supabase/ |
Postgres (RLS on every table) + Edge Functions: publishable keys, templates, parameters, conditions, experiments, events, plans |
| Dashboard | dashboard/ |
Operator UI (Next.js 16 → Cloudflare Workers via OpenNext) — author configs and parameters, target, schedule, run experiments, publish versions |
| Server SDKs |
server-sdk/ · ServerRemoteConfig · cli/ · mcp/
|
Backends read server_only values and record experiment exposures/goals; CLI and MCP server for operators |
Why the SDK is two artifacts: the Compose compiler plugin applies to every compilation and fails on any target without the Compose runtime on the class path. Splitting the renderer out is what lets a server, CLI or watch complication evaluate a config at all.
| Module | Artifact | Description | Latest |
|---|---|---|---|
| cmp-remote-config | io.github.mobilebytelabs:cmp-remote-config |
Headless — fetch, evaluate, server-driven UI document model. 15 KMP targets | |
| cmp-remote-config-compose | io.github.mobilebytelabs:cmp-remote-config-compose |
RemoteConfigHost + dialog / bottom-sheet / banner / full-screen presentations, dynamic UI renderer, Module.remoteConfig { } Koin DSL. 7 Compose-MP targets |
Target support: TARGET_MATRIX.md is the single source of truth for which KMP targets each module ships and why — measured, with JetBrains' tier list as the upstream reference.
Both modules ship together at the unified kmpremoteconfig.version:
# gradle/libs.versions.toml
[versions]
kmpRemoteConfig = "5.0.0"
[libraries]
cmp-remote-config = { module = "io.github.mobilebytelabs:cmp-remote-config", version.ref = "kmpRemoteConfig" }
cmp-remote-config-compose = { module = "io.github.mobilebytelabs:cmp-remote-config-compose", version.ref = "kmpRemoteConfig" }cmp-remote-config-compose exposes the core types as api, so depending on it alone is enough to
use the whole library. Add the headless module directly only on a target with no renderer.
Not a KMP app? Each project type has its own API and a working sample — getting started:
| Project type | API | Sample |
|---|---|---|
| Kotlin Multiplatform | Kotlin RemoteConfig + RemoteConfigHost
|
sample/ (+ Android, iOS, desktop, web shells) |
| Android only (Java / Views) |
java.RConfig + RConfigViews.templateHost
|
sampleAndroidViewsApp |
| iOS only (Swift / SwiftUI) | Swift package / pod RConfig (async/await) |
sampleIosNativeApp |
| Desktop only (JVM / Swing) |
java.RConfig + RConfigSwing.templatePanel
|
sampleSwingApp |
| Web only (TypeScript) |
@mobilebytelabs/rconfig + renderTemplates
|
sampleWebTs |
| Backend (Node) |
@mobilebytelabs/rconfig-server — createServerConfig → evaluate, reportExposure, track
|
server-sdk/ |
| Backend (JVM) |
ServerRemoteConfig in cmp-remote-config (JVM target) |
ServerEvaluatorVectorsTest |
npm: @mobilebytelabs/rconfig ·
rconfig-server ·
rconfig-cli ·
rconfig-mcp
📖 Docs site · 🚀 Releases · 📦 Maven Central
Per-module API reference ships as Dokka HTML inside each -javadoc.jar, so IntelliJ and Android
Studio surface it in hover popups automatically.
These two modules lived in KmpToolkit through
3.5.28. They moved here because remote config grew a server and a dashboard, which do not belong
in a general-purpose library collection.
The artifact coordinates are deliberately unchanged — a consumer migrates a version, not a dependency id:
remoteConfig { supabaseUrl; supabaseKey }
becomes publishableKey + packageName. See the release notes.4.0.0-alpha01 on Maven Central was published by accident from this repo's first push (it is the
3.5.28 code). Skip it.cmp-observe is not vendored here — it stays published from KmpToolkit and is consumed as
io.github.mobilebytelabs:cmp-observe. A second copy of a published module would drift.
CONTRIBUTING.md · docs conventions in docs/DEVELOPMENT.md.
./gradlew build # compile + test every target this host can build
./gradlew fix # apply Spotless formatting
./gradlew detekt # static analysis
./gradlew koverHtmlReportProduction ships from one script, in order — preflight → pending migrations → Edge Functions → dashboard → smoke (dashboard + live SDK contract) → optional publish. Dry run by default:
bash scripts/deploy.sh # plan only
bash scripts/deploy.sh --apply --confirm-production # migrations, functions, dashboard, smoke
bash scripts/deploy.sh --apply --confirm-production --publish # … and release kmpremoteconfig.versionMaven publishing runs only from the release branch or a deliberate Publish dispatch — a push to
dev cannot publish. Details: supabase/DEPLOY.md.
Copyright 2026 MobileByteLabs
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
See LICENSE for details.