Docs

App versions

How the server asks people to update the app, where it sends them for a new version, and how desktop apps update.

The app's level

Every app build has a level, an integer that grows when the app learns something new in the protocol. On sign-in and every connection the app reports its level, platform and version, and the server answers with its policy:

OptionDefaultMeaning
--minimum-client-level29The oldest level the server serves. Cannot be set below 29.
--recommended-client-levelthe minimumThe level the app suggests updating to.
--client-update-urlnoneWhere to send people for a new version, once per platform.
--client-update-url=android=https://example.org/comon.apk
--client-update-url=ios=https://apps.apple.com/app/...
--client-update-url=windows=https://example.org/ComonSetup.exe

Platforms: android, ios, macos, windows, linux, web. HTTPS addresses only. Link pages offer the same links as the "download" button (web client and links).

What people see

  • Level below the minimum. Instead of this federation's chat list, the app shows "Update the app" with an "Update" button that opens the link for its platform. Without a link, the app suggests installing a newer version from where it came from. Chats already saved on the device can be read ("Show saved chats"). Other federations work as usual.
  • Level below the recommended one. "A new version of the app is available" appears above the chat list, with "Update" and "Later". Everything keeps working.
  • A message this version cannot show. In its place: "Update the app to read this message".

The minimum level goes up when old builds are harmful or a new server version cannot work with them. Such server versions are marked in the changelog, and the new server raises its default itself.

Updates on computers

Windows, Linux and macOS apps installed by the installer update themselves from the project's release feed (https://comon.chat/updates/), independently of any federation:

  • they check the feed at start and every hour and download a new version in the background;
  • they show "Version X is ready to install" with an "Update" button that restarts the app into the new version;
  • during a call they wait for it to end: "The app will restart to update when the call ends";
  • they never install an update without the person's consent.

If your federation requires or recommends a new version and the app has already downloaded it, the "Update" button restarts into the new version instead of opening your link. For official desktop builds, --client-update-url is therefore only a fallback.

Phones update through the app stores. The web client is always the latest: you update it by rebuilding the web client.

On this page