SkateSpots/src
shakespeare.diy f010a61608 fix: use nostr-signer-capacitor-plugin for Amber NIP-55 login
All previous URL-scheme approaches (nostrsigner:, intent:) were fundamentally
wrong for a Capacitor app. JavaScript in a WebView cannot reliably dispatch
Android intents via URL navigation.

The correct solution — used by Coracle and other Capacitor-based Nostr apps —
is the nostr-signer-capacitor-plugin which communicates with Amber via native
Android intents through the Capacitor bridge:

  NostrSignerPlugin.setPackageName({ packageName: 'com.greenart7c3.nostrsigner' })
  NostrSignerPlugin.isExternalSignerInstalled()
  NostrSignerPlugin.getPublicKey() → { npub }

This is synchronous from the JS side, handles the entire Android intent
roundtrip natively, and returns the pubkey directly. No URL encoding,
no callback URLs, no redirects, no malformed request errors.

Co-authored-by: shakespeare.diy <assistant@shakespeare.diy>
2026-07-08 11:59:04 +07:00
..
components fix: use nostr-signer-capacitor-plugin for Amber NIP-55 login 2026-07-08 11:59:04 +07:00
contexts fix: restore full skate-spots source tree from misplaced src/src/ copy 2026-06-15 22:18:28 +07:00
hooks Fix Amber login: replace nostrconnect/relay flow with proper NIP-55 intent flow 2026-07-03 13:24:46 +07:00
i18n fix: restore full skate-spots source tree from misplaced src/src/ copy 2026-06-15 22:18:28 +07:00
lib fix: Amber intent: format + # in callbackUrl breaks intent parsing 2026-07-08 11:36:03 +07:00
pages SupportersPage: use red transparent No Teeth logo 2026-06-27 22:08:25 +07:00
test feat: update default relay set to all 5 relays 2026-06-16 22:35:09 +07:00
App.test.tsx New project created with Shakespeare 2026-06-15 19:49:07 +07:00
App.tsx feat: update default relay set to all 5 relays 2026-06-16 22:35:09 +07:00
AppRouter.tsx fix: switch to HashRouter for Capacitor Android compatibility 2026-06-18 21:56:23 +07:00
index.css Replace Impact with Bebas Neue + Barlow Condensed for authentic skate typography 2026-06-18 00:37:32 +07:00
main.tsx fix: Amber intent: format + # in callbackUrl breaks intent parsing 2026-07-08 11:36:03 +07:00
vite-env.d.ts fix: restore full skate-spots source tree from misplaced src/src/ copy 2026-06-15 22:18:28 +07:00