Commit Graph

3 Commits

Author SHA1 Message Date
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