Android: Enable plaintext HTTP for i.retroachievements.org

Android doesn't like its TLS configuration.
This commit is contained in:
Connor McLaughlin 2021-03-13 21:13:07 +10:00
parent 6bced299f4
commit 0f1dc93eaa
2 changed files with 10 additions and 1 deletions

View file

@ -5,6 +5,7 @@
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.INTERNET" />
<application
android:allowBackup="true"
@ -13,7 +14,9 @@
android:requestLegacyExternalStorage="true"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/AppTheme">
android:theme="@style/AppTheme"
android:usesCleartextTraffic="true"
android:networkSecurityConfig="@xml/network_security_config">
<activity
android:name=".GameDirectoriesActivity"
android:label="@string/title_activity_game_directories"

View file

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<network-security-config>
<domain-config cleartextTrafficPermitted="true">
<domain includeSubdomains="true">i.retroachievements.org</domain>
</domain-config>
</network-security-config>