Fix HTTPS issue

This commit is contained in:
Niels Andriesse 2019-08-06 11:55:46 +10:00
parent 8ad0069fec
commit bc547cc55c
2 changed files with 9 additions and 0 deletions

View File

@ -91,6 +91,7 @@
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:supportsRtl="true"
android:networkSecurityConfig="@xml/network_security_configuration"
tools:replace="android:allowBackup"
android:allowBackup="false"
android:theme="@style/TextSecure.DarkTheme"

View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<network-security-config>
<domain-config cleartextTrafficPermitted="true">
<domain includeSubdomains="true">imaginary.stream</domain>
<domain includeSubdomains="true">storage.seed1.loki.network</domain>
<domain includeSubdomains="true">storage.seed2.loki.network</domain>
</domain-config>
</network-security-config>