Fetch typed config maps and boolean feature flags per app/platform.
Remote config & features
Config
const { data } = await platform.getConfig({
platform: "web",
app_version: "1.0.0",
});
// data.config → Record<string, unknown>
No auth required. Use for non-sensitive remote parameters.
Features
const { data } = await platform.getFeatures({
platform: "android",
app_version: "1.0.0",
});
// data.features → Record<string, boolean>
Auth required. Use for kill-switches and staged rollouts.
Guidance
- Do not put secrets in remote config
- Keep defaults in the client for offline
- Combine with entitlement checks for monetized capabilities