-
feat(android): APK loads live web, fix cold-start deep links for Google OAuth
released this
2026-06-15 20:47:22 +00:00 | 30 commits to main since this releaseAPK architecture change: replaces bundled React SPA with minimal redirect
page that always loads live web content. No more APK rebuilds for web changes.Root cause of OAuth failure on Android:
- Cold-start deep links lost — APK's old bundled JS called onOpenUrl()
(warm-start listener only) but NOT getCurrent() which is required for
cold-start deep links. Fix: redirect page + setupDeepLinkHandler both
call getCurrent() before redirecting/navigating. - Session cookie was dropped — renderTauriDeepLinkPage returned a raw
new Response() which overwrote the Set-Cookie header set by the
callback handler. Fix: inject Set-Cookie into the Response. - tauri.conf.json frontendDist → "./web/dist-tauri" (redirect page)
- Added @tauri-apps/plugin-deep-link and @tauri-apps/plugin-opener as
web app deps so live-web imports work in Tauri WebView.
Co-Authored-By: Claude noreply@anthropic.com
Downloads
- Cold-start deep links lost — APK's old bundled JS called onOpenUrl()