Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

remove network_security_config.xml to support all http urls

ammarahm-eda8510bdddef9
diff --git a/apps/mobile/android/app/src/main/AndroidManifest.xml b/apps/mobile/android/app/src/main/AndroidManifest.xml
index 0f1667af4..771edd5a4 100644
--- a/apps/mobile/android/app/src/main/AndroidManifest.xml
+++ b/apps/mobile/android/app/src/main/AndroidManifest.xml
@@ -15,7 +15,6 @@
android:allowBackup="false"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
- android:networkSecurityConfig="@xml/network_security_config"
android:requestLegacyExternalStorage="true"
android:roundIcon="@mipmap/ic_launcher_round"
android:theme="@style/AppTheme"
diff --git a/apps/mobile/android/app/src/main/res/xml/network_security_config.xml b/apps/mobile/android/app/src/main/res/xml/network_security_config.xml
deleted file mode 100644
index f20bc3deb..000000000
--- a/apps/mobile/android/app/src/main/res/xml/network_security_config.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<network-security-config>
- <domain-config cleartextTrafficPermitted="true">
- <domain includeSubdomains="true">10.0.2.2</domain>
- <domain includeSubdomains="true">localhost</domain>
- <domain includeSubdomains="true">192.168.10.5</domain>
- <domain includeSubdomains="true">192.168.10.3</domain>
- <domain includeSubdomains="true">192.168.10.4</domain>
- <domain includeSubdomains="true">192.168.10.6</domain>
- <domain includeSubdomains="true">192.168.10.8</domain>
- <domain includeSubdomains="true">192.168.10.7</domain>
- </domain-config>
-</network-security-config>
\ No newline at end of file