Skip to main content

Optional installed-app recipes

These recipes add OS-facing PWA capabilities only when a product has a concrete use case. They are not part of the generated starter and unsupported browsers keep the normal web experience.

Available

Contract for every recipe

  • Keep the capability absent until the application opts in.
  • State the product use case and current browser/OS support.
  • Feature-detect and preserve a useful ordinary-web fallback.
  • Ask for permission only after a user action that explains the value.
  • Treat launch payloads, files, URLs, messages, and subscription data as untrusted input.
  • Explain whether an install, reinstall, manifest refresh, or worker update is required.
  • Test direct browser navigation, installed launch, offline startup, unsupported browsers, malformed input, and removal of the capability.

Foreground recovery remains lofi's portable baseline. A recipe never moves Jazz sync or OPFS into the service worker without a separate architecture decision.