Skip to content

v71 – Offline support

Choose a tag to compare

@blue-notes-robot blue-notes-robot released this 26 Sep 18:55
· 5 commits to main since this release

Offline support

  • PC / Mac / Android (Chrome or Edge): open the page once while online. The log shows "Offline ready", and after that the page opens without internet (keep the trailing / in the address). You can also Install it as an app. Updates are picked up automatically when you're online again.
  • iPhone (Bluefy): iOS only allows offline caching in apps that can be the default browser, and Bluefy can't be. Open the page before you lose internet and keep the tab open. Once it's loaded, everything works offline, including Bluetooth and the logbook download.
  • Local copy: index.html + logbook.js in one folder also works offline in Chrome or Edge. Its saved logbook is separate from the hosted page's.
  • The README has a new Offline use section (#2).

Clear message when Bluetooth isn't supported

Browsers without Web Bluetooth used to fail on Connect with a TypeError; on iPhone, that's Chrome, Safari and all others except Bluefy and WebBLE. The page now shows a notice with a tip for your platform and disables Connect. View saved logbook still works. If Bluetooth is off or no adapter is found, there's a hint to turn it on.