Overview

This describes the flows and processes used to get remix apps to auto sync to your mobile device or your desktop. We have setup a mechanism to sync apps to your mobile/desktop and make sure only apps compatible with the version of the platform installed will be downloaded.

Structure / Terminology

App

Group

// the default remix group on mobile
{
  "name": "system",
  "home": "_rmx_home/home",
  "surface": "mobile",
  "apps": [
    { "dbName": "_rmx_home", "appName": "Remix Home" },
    { "dbName": "_rmx_widgets", "appName": "Remix Widgets" },
    { "dbName": "_rmx_sharesheet", "appName": "Share Sheet" },
    { "dbName": "_rmx_quicklook", "appName": "Quicklook" },
  ]
}

// the default order management app for a restaurant owner
// (and the orders screen will become his home page)
{
  "name": "[email protected]",
  "apps": [
    { "dbName": "order_management", "appName": "Order Management", "type": "gcs/versioned" }
  ],
  "home": "order_management/orders"
}

Subscriptions

A user subscribe to a set of groups:

The list of apps in these groups are the apps synced to your device/platform.

Each group could potentially define a home app. For now the last group which defines a home app ‘wins’ (meaning a user home app takes precedence over a default home app, which also takes precedence over a system home app)