Skip to content

feat(pwa): add install prompt, share target, and idle relock - #162

Merged
truthixify merged 1 commit into
wraith-protocol:developfrom
Hallab7:feat/pwa-install-share-idle-relock
Aug 26, 2026
Merged

feat(pwa): add install prompt, share target, and idle relock#162
truthixify merged 1 commit into
wraith-protocol:developfrom
Hallab7:feat/pwa-install-share-idle-relock

Conversation

@Hallab7

@Hallab7 Hallab7 commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds the missing PWA install, share-target intake, and app-level idle relock flows.

Changes

  • Captures beforeinstallprompt and displays an Install action in the header.
  • Permanently hides the install action after the native prompt is dismissed.
  • Registers Wraith as a Web Share Target for shared text.
  • Routes shared stellar: payment URIs to /send.
  • Prefills the Stellar recipient, amount, and memo from shared URIs.
  • Adds app-wide relocking after five minutes of inactivity.
  • Clears in-memory stealth keys when the session locks.
  • Supports passkey unlocking when available, with vault passphrase fallback.
  • Extracts the existing KeyVault inactivity logic into a shared idle-lock utility.
  • Handles mobile background timer throttling by checking elapsed time when the app becomes visible.

Testing

  • Stellar URI parser tests pass: 6/6.
  • Edited files pass Prettier checks.
  • git diff --check passes.
  • Edited TypeScript files transpile without syntax errors.
  • Full build was blocked by missing/incomplete repository dependencies unrelated to this change.

closes #159

@vercel

vercel Bot commented Aug 24, 2026

Copy link
Copy Markdown

@Hallab7 is attempting to deploy a commit to the truthixify's projects Team on Vercel.

A member of the Team first needs to authorize it.

@drips-wave

drips-wave Bot commented Aug 24, 2026

Copy link
Copy Markdown

@Hallab7 Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@truthixify
truthixify merged commit 5a2413a into wraith-protocol:develop Aug 26, 2026
1 of 2 checks passed
@truthixify

Copy link
Copy Markdown
Contributor

Merged. Install prompt and share-target intake both landed clean @Hallab7.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

PWA install prompt, share-target intake, and app-level idle relock

2 participants