플래이스토어 새 앱으로 출시, 설문조사 키보드 안닫힘 해결

This commit is contained in:
eld_master 2025-02-24 16:45:02 +09:00
parent 67faa04935
commit 90d84b7cc7
7 changed files with 90 additions and 76 deletions

View File

@ -1,4 +1,4 @@
# allscore_app # allscore
A new Flutter project. A new Flutter project.

View File

@ -13,15 +13,15 @@ if (keystorePropertiesFile.exists()) {
} }
android { android {
namespace = "com.allscore_app" namespace = "com.allscore"
compileSdkVersion 34 compileSdkVersion 34
defaultConfig { defaultConfig {
applicationId "com.allscore_app" applicationId "com.allscore"
minSdkVersion 23 minSdkVersion 23
targetSdkVersion 34 targetSdkVersion 34
versionCode 19 versionCode 22
versionName "1.1.0" versionName "1.1.3"
} }
signingConfigs { signingConfigs {
release { release {

View File

@ -8,33 +8,33 @@
"client": [ "client": [
{ {
"client_info": { "client_info": {
"mobilesdk_app_id": "1:452355332155:android:152995468604d10d13e41e", "mobilesdk_app_id": "1:452355332155:android:fc70db048c73540513e41e",
"android_client_info": { "android_client_info": {
"package_name": "com.allscore_app" "package_name": "com.allscore"
} }
}, },
"oauth_client": [ "oauth_client": [
{ {
"client_id": "452355332155-jcnodseb4t2bgq2mo1a6h3bn4ncp5o8c.apps.googleusercontent.com", "client_id": "452355332155-ebejb33njonaur1f9q9kmeto910kcgd4.apps.googleusercontent.com",
"client_type": 1, "client_type": 1,
"android_info": { "android_info": {
"package_name": "com.allscore_app", "package_name": "com.allscore",
"certificate_hash": "0f5c83605937a4aa55d6097253473b285bb18418" "certificate_hash": "95d683602b8d4c6194547823c2001007408e40ec"
} }
}, },
{ {
"client_id": "452355332155-lqtr6l2qg0pn62vi5nccggldmcm21qdl.apps.googleusercontent.com", "client_id": "452355332155-g7hpnu3lk0ak9nb9nr174ms81ch319ha.apps.googleusercontent.com",
"client_type": 1, "client_type": 1,
"android_info": { "android_info": {
"package_name": "com.allscore_app", "package_name": "com.allscore",
"certificate_hash": "761f8d2290ebb091acdf3cf8400df65245047fb8" "certificate_hash": "761f8d2290ebb091acdf3cf8400df65245047fb8"
} }
}, },
{ {
"client_id": "452355332155-t29ceato8o62c9kq9drefe7b6hd1ka1d.apps.googleusercontent.com", "client_id": "452355332155-u1vmjm9o71aogjfe2qnonmkoe6s5gso0.apps.googleusercontent.com",
"client_type": 1, "client_type": 1,
"android_info": { "android_info": {
"package_name": "com.allscore_app", "package_name": "com.allscore",
"certificate_hash": "83fe36945bd0f037a7b934f9737a4fa94c47872d" "certificate_hash": "83fe36945bd0f037a7b934f9737a4fa94c47872d"
} }
}, },
@ -64,8 +64,7 @@
} }
] ]
} }
}, }
"admob_app_id": "ca-app-pub-6461991944599918~9492697896"
} }
], ],
"configuration_version": "1" "configuration_version": "1"

View File

@ -1,10 +1,11 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.allscore_app"> package="com.allscore">
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/> <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<uses-permission android:name="android.permission.READ_MEDIA_IMAGES" /> <uses-permission android:name="android.permission.READ_MEDIA_IMAGES" />
<uses-permission android:name="com.google.android.gms.permission.AD_ID"/>
<application <application

View File

@ -1,4 +1,4 @@
package com.allscore_app package com.allscore
import io.flutter.embedding.android.FlutterActivity import io.flutter.embedding.android.FlutterActivity

View File

@ -247,7 +247,12 @@ class _SurveyPageState extends State<SurveyPage> {
_onExitSurvey(); _onExitSurvey();
return false; return false;
}, },
child: GestureDetector( //
onTap: () {
FocusScope.of(context).unfocus();
},
child: Scaffold( child: Scaffold(
resizeToAvoidBottomInset: true, //
appBar: AppBar( appBar: AppBar(
leadingWidth: 120, leadingWidth: 120,
leading: TextButton( leading: TextButton(
@ -266,20 +271,23 @@ class _SurveyPageState extends State<SurveyPage> {
padding: const EdgeInsets.all(16), padding: const EdgeInsets.all(16),
child: Column( child: Column(
children: [ children: [
//
Text( Text(
questionText, questionText,
style: const TextStyle(fontSize: 18, fontWeight: FontWeight.bold), style: const TextStyle(fontSize: 18, fontWeight: FontWeight.bold),
textAlign: TextAlign.center, textAlign: TextAlign.center,
), ),
const SizedBox(height: 24), const SizedBox(height: 24),
// UI
_buildSurveyPage(_currentIndex), _buildSurveyPage(_currentIndex),
const SizedBox(height: 100), //
], ],
), ),
), ),
), ),
bottomNavigationBar: Container( bottomNavigationBar: Padding(
padding: EdgeInsets.only(
bottom: MediaQuery.of(context).viewInsets.bottom, //
),
child: Container(
color: Colors.white, color: Colors.white,
padding: const EdgeInsets.symmetric(horizontal: 16, vertical: 8), padding: const EdgeInsets.symmetric(horizontal: 16, vertical: 8),
child: Row( child: Row(
@ -307,6 +315,8 @@ class _SurveyPageState extends State<SurveyPage> {
), ),
), ),
), ),
),
),
); );
} }
@ -329,6 +339,8 @@ class _SurveyPageState extends State<SurveyPage> {
labelText: 'Your country', labelText: 'Your country',
border: OutlineInputBorder(), border: OutlineInputBorder(),
), ),
textInputAction: TextInputAction.done,
onSubmitted: (_) => FocusScope.of(context).unfocus(),
), ),
], ],
); );
@ -351,6 +363,8 @@ class _SurveyPageState extends State<SurveyPage> {
labelText: 'Age', labelText: 'Age',
border: OutlineInputBorder(), border: OutlineInputBorder(),
), ),
textInputAction: TextInputAction.done,
onSubmitted: (_) => FocusScope.of(context).unfocus(),
), ),
], ],
); );

View File

@ -1,7 +1,7 @@
name: allscore_app name: allscore
description: "A new Flutter project." description: "A new Flutter project."
publish_to: 'none' publish_to: 'none'
version: 1.1.0+19 version: 1.1.3+22
environment: environment:
sdk: '>=3.5.3 <4.0.0' sdk: '>=3.5.3 <4.0.0'
flutter: ">=3.16.0" flutter: ">=3.16.0"