Remote config and feature flags
Values and feature flags your app reads, changed under Remote config without a new release: for everyone, a segment or a share of users. The SDKs fetch them at launch and keep the last ones, so they work offline. The same call tells whether this version must update, and maintenance.
In your app, with the SDK
var config = BeeAppieSdk.Instance.Config;
if (config.IsEnabled("new_checkout")) { … }
var banner = config.GetString("banner", "Welcome!");
var columns = config.GetLong("columns", 2);
if (config.Status.UpdateRequired) { /* send to config.Status.StoreUrl */ }
BeeAppieSdk.Instance.ConfigChanged += (_, c) => { /* new values */ };
val config = BeeAppie.config
if (config.isEnabled("new_checkout")) { … }
val banner = config.getString("banner", "Welcome!")
val columns = config.getLong("columns", 2)
if (config.status.updateRequired) { /* open config.status.storeUrl */ }
BeeAppie.onConfigChanged = { c -> /* new values */ }
let config = BeeAppieSDK.config
if config.isEnabled("new_checkout") { … }
let banner = config.string("banner", default: "Welcome!")
let columns = config.int("columns", default: 2)
if config.status.updateRequired { /* open config.status.storeUrl */ }
BeeAppieSDK.onConfigChanged = { c in /* new values */ }
final config = await BeeAppie.config();
if (config.isEnabled('new_checkout')) { … }
final banner = config.getString('banner', fallback: 'Welcome!');
final columns = config.getInt('columns', fallback: 2);
if (config.status.updateRequired) { /* open config.status.storeUrl */ }
BeeAppie.onConfigChanged = (c) { /* new values */ };
const config = await BeeAppie.config();
if (config.isEnabled('new_checkout')) { … }
const banner = config.getString('banner', 'Welcome!');
const columns = config.getNumber('columns', 2);
if (config.status.updateRequired) { /* open config.status.storeUrl */ }
BeeAppie.onConfigChanged = (c) => { /* new values */ };
var config = BeeAppieSdk.Config; // the last fetched, also offline
if (config.IsEnabled("double_xp")) { … }
var banner = config.GetString("banner", "Welcome!");
var lives = config.GetLong("lives", 3);
if (config.Status.UpdateRequired) Application.OpenURL(config.Status.StoreUrl);
BeeAppieSdk.ConfigChanged += c => { /* new values */ };
Or with the HTTP API
GET /v1/config
{ "values": { "new_checkout": true, "banner": "Summer sale" },
"status": { "updateRequired": false, "updateAvailable": true,
"storeUrl": "https://…", "maintenanceMessage": null } }
With the usual headers: your app key, and the user's token.
- Every getter takes the value to use when the key is missing, so the app works before the first fetch and offline.
- Offline, or when BeeAppie cannot be reached, the app gets the last values kept on the device:
isUpToDateis then false, andfetchedAtsays when they were fetched. - Below the minimum version, each platform either recommends the update or requires it (Versions, below): the status's
promptsays which, andBeeAppieUI.ShowUpdatePromptIfNeededAsync(MAUI) orBeeAppieUI.showUpdatePromptIfNeeded(Android, iOS) shows it for you, with an optional extra action such as backing up the user's data; Flutter and React Native haveBeeAppie.showUpdatePromptIfNeeded, without the extra action. - While maintenance mode is on (Maintenance mode, per environment), the status's
maintenanceMessagecarries your message.BeeAppieUI.ShowMaintenanceIfNeededAsync(MAUI),BeeAppieUI.showMaintenanceIfNeeded(Android, iOS) andBeeAppie.showMaintenanceIfNeeded(Flutter, React Native) show it on a screen with no way back into the app, and a Try again button, until you turn it off; the native SDKs take the same extra action as the update prompt. Turning off blocking (AllowBlockingMaintenance/allowBlockingMaintenance/allowBlocking: false) shows it in an alert instead. Call it before the update prompt. Unity reports it only. - A share of users (e.g. 10%) is always the same users, and keeps them when raised: gradual rollouts.
- Each value is at most 8 KB, and an app's values together at most 128 KB.
Ready when you are
BeeAppie opens to new apps soon. Leave your email and we will tell you when you can sign up.
Join the waitlist SDKs and downloads