Skip to content

Commit

Permalink
Import network security config
Browse files Browse the repository at this point in the history
  • Loading branch information
remtrik committed Dec 1, 2024
1 parent 8f0be76 commit 76710ce
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
android:fullBackupContent="@xml/backup_rules"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:networkSecurityConfig="@xml/network_security_config"
android:supportsRtl="false"
android:theme="@style/Theme.M3KHelper"
tools:replace="android:supportsRtl"
Expand Down
8 changes: 8 additions & 0 deletions app/src/main/res/xml/network_security_config.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<network-security-config>
<domain-config cleartextTrafficPermitted="true">
<domain includeSubdomains="true">127.0.0.1</domain>
<domain includeSubdomains="true">0.0.0.0</domain>
<domain includeSubdomains="true">::1</domain>
</domain-config>
</network-security-config>

0 comments on commit 76710ce

Please sign in to comment.