[mobile-android] Capacitor 7 scaffold + Android shell (#8) #35

Merged
claude merged 1 commits from night/mobile-android/capacitor-scaffold into night/2026-11-16 2026-11-17 05:05:07 +00:00
1 Commits
Author SHA1 Message Date
claudeandClaude Opus 5.5 396c16d9c2 Android: Capacitor 7 shell for WikiDeck (dev.eom.wikideck)
- Capacitor deps (core, cli, android, ios, app, browser); additive lockfile
  regenerated with npm 11 (node:24) so libc fields are kept.
- capacitor.config.ts: webDir dist, CapacitorHttp on (native fetch: no CORS,
  no WebView Origin header for the node's POST origin check), cleartext for
  the LAN testnet, edge-to-edge margins on Android 15.
- android/: generated project + SSO deep link (dev.eom.wikideck:), cleartext,
  adjustResize for the keyboard; build-debug.sh builds against the testnet.
- src/native.ts: isNativeApp(), VITE_NODE_URL (default testnet node) applied to
  relative /api and /auth fetches, sets WIKIDECK_NODE_URL for src/auth, fixes
  the interceptor's merged content-length header, back button closes dialogs
  first, onDeepLink() for the SSO redirect. No-op on the web.
- App.tsx: one import + hidden={isNativeApp()} on the mining panel.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 23:53:23 -05:00