Skip to content

Commit

Permalink
fix android HTTPS issue
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangcheng870518 committed Dec 3, 2024
1 parent d537147 commit 5588490
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions gui/src-android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
android:theme="@style/Theme.ztm"
android:supportsRtl="true"
android:extractNativeLibs = "true"
android:networkSecurityConfig = "@xml/network_security_config"
android:usesCleartextTraffic="${usesCleartextTraffic}">
<activity
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|smallestScreenSize|screenLayout|uiMode"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<network-security-config>
<domain-config cleartextTrafficPermitted="true">
<domain includeSubdomains="true">127.0.0.1</domain>
</domain-config>
<base-config cleartextTrafficPermitted="true" />
</network-security-config>

0 comments on commit 5588490

Please sign in to comment.