From 9f3972a8de15a82b29215087a16cedeabec1e746 Mon Sep 17 00:00:00 2001 From: YangYuhao Date: Tue, 15 Aug 2023 16:48:14 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=A8=E9=80=81=E7=9B=B8=E5=85=B3=20?= =?UTF-8?q?=E5=92=8C=E7=A1=AE=E8=AE=A4=E5=8D=8F=E8=AE=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../android/app/src/main/AndroidManifest.xml | 2 + .../app/circle/widgets/info_list_view.dart | 2 +- .../lib/app/dialog/YesAgreementDialog.dart | 198 ++++++++++++++++++ circle_app/lib/app/login/login/logic.dart | 4 +- circle_app/lib/app/splash/logic.dart | 30 ++- circle_app/lib/app/userinfo/logic.dart | 1 + circle_app/lib/app/userinfo/view.dart | 11 +- circle_app/lib/common/values/pushconfig.dart | 11 +- circle_app/lib/main.dart | 146 +++++++------ circle_app/lib/network/dio_manager.dart | 37 +++- .../lib/util/SharedPreferencesHelper.dart | 10 + circle_app/lib/util/device.dart | 10 + circle_app/lib/util/util.dart | 4 +- 13 files changed, 374 insertions(+), 92 deletions(-) create mode 100644 circle_app/lib/app/dialog/YesAgreementDialog.dart diff --git a/circle_app/android/app/src/main/AndroidManifest.xml b/circle_app/android/app/src/main/AndroidManifest.xml index 3985998..43a67e9 100644 --- a/circle_app/android/app/src/main/AndroidManifest.xml +++ b/circle_app/android/app/src/main/AndroidManifest.xml @@ -71,6 +71,8 @@ android:hardwareAccelerated="true" android:usesCleartextTraffic="true" android:screenOrientation="portrait" + android:showWhenLocked="true" + android:turnScreenOn="true" android:networkSecurityConfig="@xml/network_security_config" android:windowSoftInputMode="adjustResize">