Browse Source

Enable cleartext traffic for thmmy.gr

pull/68/head
Ezerous 5 years ago
parent
commit
4fd6a44bbb
No known key found for this signature in database GPG Key ID: 262B2954BBA319E3
  1. 1
      app/src/main/AndroidManifest.xml
  2. 7
      app/src/main/res/xml/network_security_config.xml

1
app/src/main/AndroidManifest.xml

@ -19,6 +19,7 @@
android:label="@string/app_name" android:label="@string/app_name"
android:supportsRtl="true" android:supportsRtl="true"
android:requestLegacyExternalStorage="true" android:requestLegacyExternalStorage="true"
android:networkSecurityConfig="@xml/network_security_config"
android:theme="@style/AppTheme" android:theme="@style/AppTheme"
tools:ignore="UnusedAttribute"> tools:ignore="UnusedAttribute">
<meta-data <meta-data

7
app/src/main/res/xml/network_security_config.xml

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<network-security-config>
<!-- This is needed because some sections of thmmy.gr are responding with cleartext traffic -->
<domain-config cleartextTrafficPermitted="true">
<domain includeSubdomains="true">www.thmmy.gr</domain>
</domain-config>
</network-security-config>
Loading…
Cancel
Save