Skip to content

Updating

Colin Halseth edited this page May 14, 2021 · 3 revisions

TrekSharp is distributed as a progressive web application (PWA). While this brings many benefits, such as the ability to run the app offline or to install it to a mobile device, it also complicates the procedure to receive updates. This is because there is no automatic updater built into the device that the app is installed on, and because all the assets and code are locally cached and run from the cache.

When an update is released the following procedure should be used to update the application.

  1. Completely close the application
  2. Open the application anew
  3. Wait a few minutes for the background service worker to fetch the updated assets and replace the cached objects
  4. Completely close the application

When you next open the application it should have downloaded all the new assets to the cache and will load those updates immediately.