From 380c248ff46749a1868c1bd6bcf41109ea496baf Mon Sep 17 00:00:00 2001 From: donghongyu Date: Fri, 19 Nov 2021 21:28:54 +0800 Subject: [PATCH] =?UTF-8?q?[Fix]=E4=BF=AE=E5=A4=8D=E5=AE=89=E5=8D=9310?= =?UTF-8?q?=E4=B9=8B=E5=90=8ECleartext=20HTTP=20traffic=20to=20dzt.zhidaoz?= =?UTF-8?q?hixing.com=20not=20permitted=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .idea/misc.xml | 1 + app/src/main/AndroidManifest.xml | 1 + app/src/main/java/com/mogo/cloud/MoGoApplication.java | 2 +- app/src/main/res/xml/network_security_config.xml | 4 ++++ gradle.properties | 2 +- 5 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 app/src/main/res/xml/network_security_config.xml diff --git a/.idea/misc.xml b/.idea/misc.xml index 610ea89..537f4cb 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -16,6 +16,7 @@ + diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 1d35262..3b9d61f 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -27,6 +27,7 @@ android:label="@string/app_name" android:roundIcon="@mipmap/ic_launcher_round" android:supportsRtl="true" + android:networkSecurityConfig="@xml/network_security_config" android:theme="@style/AppTheme"> + + + \ No newline at end of file diff --git a/gradle.properties b/gradle.properties index 7dea2a9..ce8028d 100644 --- a/gradle.properties +++ b/gradle.properties @@ -33,7 +33,7 @@ SNAPSHOT_REPOSITORY_URL=http://nexus.zhidaoauto.com/repository/maven-snapshots/ USERNAME=xintai PASSWORD=xintai2018 # 编译模式: false - 依赖本地版本, true - 依赖 maven 版本 -RELEASE=true +RELEASE=false # AI CLOUD 云平台 # 工具类 MOGO_UTILS_VERSION=1.3.4