Installable mobile experience: PWA offline shell, share target, Android/iOS via Tauri #9

Open
opened 2026-11-23 21:02:42 +00:00 by jonasled · 0 comments
Owner

Problem

The web UI is responsive and there is a web manifest, but there is no service worker, so the installed app does not start offline, and notes cannot be sent to it from other apps.

Idea

  • Service worker that caches the app shell (offline start, update prompt when a new version is deployed). Data is already offline-first in IndexedDB.
  • Web Share Target in manifest.webmanifest (share_target): sharing text, a URL or files from the phone's share sheet creates a note (or appends to a chosen inbox notebook) with attachments.
  • Manifest polish: PNG icons (192/512, maskable), shortcuts ("New note", "Search"), screenshots for the install dialog.
  • Quick capture: /new?title=&body= deep link and an "Inbox" notebook setting.
  • Evaluate Tauri 2 mobile builds (Android APK/AAB, iOS) reusing the desktop code: system browser for OIDC (already uses the opener plugin), biometric unlock for the E2EE password via the OS keystore.
  • Touch polish: swipe actions in the note list, bigger hit targets in the editor toolbar, virtual keyboard handling.

Notes

The service worker must never cache /api/ responses.

## Problem The web UI is responsive and there is a web manifest, but there is no service worker, so the installed app does not start offline, and notes cannot be sent to it from other apps. ## Idea - **Service worker** that caches the app shell (offline start, update prompt when a new version is deployed). Data is already offline-first in IndexedDB. - **Web Share Target** in `manifest.webmanifest` (`share_target`): sharing text, a URL or files from the phone's share sheet creates a note (or appends to a chosen inbox notebook) with attachments. - Manifest polish: PNG icons (192/512, maskable), shortcuts ("New note", "Search"), screenshots for the install dialog. - **Quick capture**: `/new?title=&body=` deep link and an "Inbox" notebook setting. - Evaluate **Tauri 2 mobile** builds (Android APK/AAB, iOS) reusing the desktop code: system browser for OIDC (already uses the opener plugin), biometric unlock for the E2EE password via the OS keystore. - Touch polish: swipe actions in the note list, bigger hit targets in the editor toolbar, virtual keyboard handling. ## Notes The service worker must never cache `/api/` responses.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
jonasled/notes#9
No description provided.