From f5e605d246e13363f2b750d71a86554f5d3e6871 Mon Sep 17 00:00:00 2001 From: mx1700 Date: Sat, 6 Jul 2019 23:00:53 +0800 Subject: [PATCH] =?UTF-8?q?android=20=E5=85=81=E8=AE=B8=20http=20=E8=AE=BF?= =?UTF-8?q?=E9=97=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- android/app/src/main/AndroidManifest.xml | 1 + android/app/src/main/res/values/strings.xml | 2 +- android/app/src/main/res/xml/network_security_config.xml | 4 ++++ android/gradle.properties | 7 ++++++- 4 files changed, 12 insertions(+), 2 deletions(-) create mode 100644 android/app/src/main/res/xml/network_security_config.xml diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index 3967d51..d5971e1 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -17,6 +17,7 @@ android:label="@string/app_name" android:launchMode="singleTask" android:roundIcon="@mipmap/ic_launcher_round" + android:networkSecurityConfig="@xml/network_security_config" android:theme="@style/AppTheme"> - Timepill + 胶囊日记 diff --git a/android/app/src/main/res/xml/network_security_config.xml b/android/app/src/main/res/xml/network_security_config.xml new file mode 100644 index 0000000..dca93c0 --- /dev/null +++ b/android/app/src/main/res/xml/network_security_config.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/android/gradle.properties b/android/gradle.properties index bef4b0e..08cbb29 100644 --- a/android/gradle.properties +++ b/android/gradle.properties @@ -18,4 +18,9 @@ # org.gradle.parallel=true # android.useAndroidX=true -# android.enableJetifier=true \ No newline at end of file +# android.enableJetifier=true + +MYAPP_RELEASE_STORE_FILE=my-release-key.keystore +MYAPP_RELEASE_KEY_ALIAS=my-key-alias +MYAPP_RELEASE_STORE_PASSWORD=zzzzzzz +MYAPP_RELEASE_KEY_PASSWORD=zzzzzzz \ No newline at end of file