allow cleartext to loopback so the UI can reach the favela-web running inside it
"Network request failed" on the timeline: since targetSdk 28 Android denies cleartext HTTP by
default, so fetch('http://127.0.0.1:4041/api/timeline') was refused before it left the process. The
server was up and answering the whole time — the worklet's own bare-fetch got 200, because it is
not subject to Android's network security policy, which is exactly why the two disagreed.
Scoped to 127.0.0.1 and localhost. usesCleartextTraffic="true" would permit plaintext to ANY host,
which is a real weakening for an app that talks to PDSes and plc.directory over TLS; this permits
only traffic that never leaves the device.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
aa90cdbf561c97d5733ef1a94fb4cabc8743cab2
by plankatron <fleeky@gmail.com> · 2026-08-11T01:22:59.000Z