Skip to navigation

Cloud Variables

Suppose Northstar Editor needs a maintenance notice on Monday morning. If the text is hardcoded into the app, you must rebuild and send a new download. Put the text in a Cloud Variable called maintenance_message instead. The app reads it after sign-in. Change the text in AuthlyX and the next read returns the new message.

Developer changesmaintenance_message in dashboard Northstar reads it after sign-in AuthlyX returns the saved text App shows the notice Developer edits the text Next read returns the edited text

Add one

  1. Open App Data → Cloud Variables for your app.
  2. Add the key maintenance_message and a value such as Maintenance starts at 9 PM UTC.
  3. Leave Allow remote updates off if only dashboard edits should change it.
  4. In the app, read the key after sign-in and show the returned text.
  5. Change the value in the dashboard and read it again. The app receives the new value on that next read.
app.getVariable("maintenance_message", result =>
{
if (result.ok)
Console.WriteLine(result.data);
else
Console.WriteLine(result.message);
});

The value is shared by everyone using that app. Editing it does not reach into a value already held in memory. Your app must read it again, for example the next time a screen opens or after sign-in.

Allow remote updates only when needed

Turn on Allow remote updates when an authorized app request should change the existing value. For example, a trusted admin screen in Northstar might update a shared support URL. Leave it off if the dashboard is the only place that should change the setting.

Cloud Variables are readable by the app, so every customer who can read one can see its value. Do not store database passwords, private API keys or customer-specific data there. Use identity metadata for a value that differs by user, license or device.