Commit Graph

4 Commits

Author SHA1 Message Date
0c48dc8897 fix(android): cross-origin Bearer auth in Tauri shell
Inject a Tauri shell script during CI prep to disable service workers and attach Bearer tokens on cross-origin API requests. Enable Android third-party cookies in MainActivity and eval the same script from Rust on page load.
2026-07-03 20:10:45 +08:00
Cursor Agent
475face0d3 fix(android): write network_security_config.xml to res/xml
walk() only matches files, so ensureNetworkSecurityXml never found
app/src/main/res and skipped creating the XML. AndroidManifest still
referenced @xml/network_security_config, causing AAPT link failures.

Co-authored-by: ShuMengya <shumengya666@outlook.com>
2026-06-06 06:08:26 +00:00
f8b05c69d6 fix(android): allow network requests and relax WebView CSP
Enable cleartext HTTP in release APK, add network security config, and set connect-src CSP. Add CORS on Worker API for cross-origin fetches from packaged apps.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-06 13:53:05 +08:00
58d5dc8ae8 fix(android): keep content below status and navigation bars 2026-06-06 13:40:35 +08:00