aa
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
android:icon="@android:drawable/ic_menu_send"
|
||||
android:roundIcon="@android:drawable/ic_menu_send"
|
||||
android:label="@string/app_name"
|
||||
android:networkSecurityConfig="@xml/network_security_config"
|
||||
android:theme="@style/Theme.ChatPlatform">
|
||||
<activity android:name=".presentation.login.LoginActivity" android:exported="true">
|
||||
<intent-filter>
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- 允许对后端服务器使用明文 HTTP(Android 9+ 默认禁止) -->
|
||||
<network-security-config>
|
||||
<domain-config cleartextTrafficPermitted="true">
|
||||
<domain includeSubdomains="false">101.43.95.130</domain>
|
||||
<domain includeSubdomains="false">localhost</domain>
|
||||
<domain includeSubdomains="false">10.0.2.2</domain>
|
||||
<domain includeSubdomains="false">127.0.0.1</domain>
|
||||
</domain-config>
|
||||
</network-security-config>
|
||||
Reference in New Issue
Block a user