diff options
Diffstat (limited to 'app/src/main')
| -rw-r--r-- | app/src/main/AndroidManifest.xml | 1 | ||||
| -rw-r--r-- | app/src/main/res/xml/network_security_config.xml | 15 |
2 files changed, 16 insertions, 0 deletions
diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index a1053e3..325a2cf 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -16,6 +16,7 @@ android:icon="@mipmap/ic_launcher" android:roundIcon="@mipmap/ic_launcher_round" android:theme="@style/Theme.FeedReader" + android:networkSecurityConfig="@xml/network_security_config" android:allowBackup="false"> <activity diff --git a/app/src/main/res/xml/network_security_config.xml b/app/src/main/res/xml/network_security_config.xml new file mode 100644 index 0000000..c569ba1 --- /dev/null +++ b/app/src/main/res/xml/network_security_config.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + Two feeds (webpolicy.org, bit-player.org) are genuinely alive but have no working + HTTPS at all (confirmed live, not a config mistake, see AppDatabase's v7/v8 migration + comments for the investigation). Everything else stays cleartext-blocked, same as the + platform default with no config at all. Deliberately isolated to just this file plus + the one networkSecurityConfig line in AndroidManifest.xml, so both domains, or this + whole exception, can be removed cleanly if these feeds are ever dropped instead. +--> +<network-security-config> + <domain-config cleartextTrafficPermitted="true"> + <domain includeSubdomains="false">webpolicy.org</domain> + <domain includeSubdomains="false">bit-player.org</domain> + </domain-config> +</network-security-config> |
