Skip to content

Commit 76710ce

Browse files
committed
Import network security config
1 parent 8f0be76 commit 76710ce

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

app/src/main/AndroidManifest.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
android:fullBackupContent="@xml/backup_rules"
1313
android:icon="@mipmap/ic_launcher"
1414
android:label="@string/app_name"
15+
android:networkSecurityConfig="@xml/network_security_config"
1516
android:supportsRtl="false"
1617
android:theme="@style/Theme.M3KHelper"
1718
tools:replace="android:supportsRtl"
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<network-security-config>
3+
<domain-config cleartextTrafficPermitted="true">
4+
<domain includeSubdomains="true">127.0.0.1</domain>
5+
<domain includeSubdomains="true">0.0.0.0</domain>
6+
<domain includeSubdomains="true">::1</domain>
7+
</domain-config>
8+
</network-security-config>

0 commit comments

Comments
 (0)