git.iko.soy/opencode-android
on a40d3a2 help sign in
opencode-android/app/src/main/res/xml/network_security_config.xml
15 lines 587 B history raw
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3 opencode serve speaks plain HTTP. Android blocks cleartext by default on API 28+,
4 so we permit it. This is a developer tool talking to a self-hosted server on a
5 trusted network; cleartext is permitted broadly here.
6-->
7<network-security-config xmlns:tools="http://schemas.android.com/tools">
8 <base-config
9 cleartextTrafficPermitted="true"
10 tools:ignore="InsecureBaseConfiguration">
11 <trust-anchors>
12 <certificates src="system" />
13 </trust-anchors>
14 </base-config>
15</network-security-config>