Files
baji-vc/app/src/main/network_security_config.xml
T
zenord 198fe51cec feat: remote debug log upload to gateway for LAN diagnosis
- DebugLogUpload: isolated OkHttp pool, 3s timeout, bounded queue, silent drop
- POST /debug/log on gateway: LAN-only, JSON ringbuffer (200 entries), GET to read
- Logs: app_launch, connect phases, ws events, errors (no token/audio/chat content)
- UI shows debug logging active indicator
- network_security_config: cleartext HTTP allowed for gateway host (LAN debug only)
- Gateway v0.7.1 + debug log endpoint deployed on SPARK-2

Version 0.2.5-m5-fix6
2026-10-11 12:51:51 +08:00

18 lines
775 B
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- Build template: generated into res/xml using values/config.xml. -->
<network-security-config>
<!-- No system/user roots and no debug override. The gateway certificate is required. -->
<base-config cleartextTrafficPermitted="false">
<trust-anchors>
<certificates src="@raw/gateway_cert" />
</trust-anchors>
</base-config>
<!-- LAN debug POST is permitted only for this gateway; TLS still uses its certificate. -->
<domain-config cleartextTrafficPermitted="true">
<domain includeSubdomains="false">@VOICE_SERVER_HOST@</domain>
<trust-anchors>
<certificates src="@raw/gateway_cert" />
</trust-anchors>
</domain-config>
</network-security-config>