Allow cleartext traffic

Since the idea is for anyone to host their own server, forcing them to use SSL seems a bit heavy-handed, even if it's maybe not a bad idea.
This commit is contained in:
William Brawner 2021-02-15 09:37:40 -07:00
parent 4964fe17a8
commit b7452089de
2 changed files with 1 additions and 7 deletions

View file

@ -11,7 +11,7 @@
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/AppTheme"
android:networkSecurityConfig="@xml/network_security_config"
android:usesCleartextTraffic="true"
tools:ignore="GoogleAppIndexingWarning"
tools:targetApi="n">
<activity

View file

@ -1,6 +0,0 @@
<?xml version="1.0" encoding="utf-8"?><!-- Used to allow connections to http://localhost on developer machine -->
<network-security-config>
<domain-config cleartextTrafficPermitted="true">
<domain includeSubdomains="true">10.0.2.2</domain>
</domain-config>
</network-security-config>