From 962b600263bb232257e536ee12443f49322540cb Mon Sep 17 00:00:00 2001 From: Nyeong Date: Mon, 27 Nov 2023 20:50:50 +0900 Subject: [PATCH] =?UTF-8?q?#14=20Chore:=20fluttertoast=EB=A5=BC=20?= =?UTF-8?q?=EC=9C=84=ED=95=9C=20=EC=84=A4=EC=A0=95=ED=8C=8C=EC=9D=BC=20?= =?UTF-8?q?=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- unibond/android/app/build.gradle | 6 ++++-- unibond/pubspec.lock | 14 ++++++++++++++ unibond/pubspec.yaml | 2 +- 3 files changed, 19 insertions(+), 3 deletions(-) diff --git a/unibond/android/app/build.gradle b/unibond/android/app/build.gradle index f464b96..4f2cc62 100644 --- a/unibond/android/app/build.gradle +++ b/unibond/android/app/build.gradle @@ -8,7 +8,8 @@ if (localPropertiesFile.exists()) { def flutterRoot = localProperties.getProperty('flutter.sdk') if (flutterRoot == null) { - throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.") + // throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.") + throw new FileNotFoundException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.") } def flutterVersionCode = localProperties.getProperty('flutter.versionCode') @@ -48,7 +49,8 @@ android { applicationId "com.example.unibond" // You can update the following values to match your application needs. // For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-gradle-build-configuration. - minSdkVersion flutter.minSdkVersion + // minSdkVersion flutter.minSdkVersion // changed bc of fluttertoast; requires a higher Android SDK version. + minSdkVersion 21 targetSdkVersion flutter.targetSdkVersion versionCode flutterVersionCode.toInteger() versionName flutterVersionName diff --git a/unibond/pubspec.lock b/unibond/pubspec.lock index ae58bdd..d41b02d 100644 --- a/unibond/pubspec.lock +++ b/unibond/pubspec.lock @@ -75,6 +75,19 @@ packages: description: flutter source: sdk version: "0.0.0" + flutter_web_plugins: + dependency: transitive + description: flutter + source: sdk + version: "0.0.0" + fluttertoast: + dependency: "direct main" + description: + name: fluttertoast + sha256: dfdde255317af381bfc1c486ed968d5a43a2ded9c931e87cbecd88767d6a71c1 + url: "https://pub.dev" + source: hosted + version: "8.2.4" get: dependency: "direct main" description: @@ -210,3 +223,4 @@ packages: version: "2.1.4" sdks: dart: ">=3.0.6 <4.0.0" + flutter: ">=1.10.0" diff --git a/unibond/pubspec.yaml b/unibond/pubspec.yaml index 7512c1e..288087e 100644 --- a/unibond/pubspec.yaml +++ b/unibond/pubspec.yaml @@ -37,7 +37,7 @@ dependencies: get: ^4.6.5 validators: ^3.0.0 intl: ^0.18.1 - # fluttertoast: ^8.2.4 + fluttertoast: ^8.2.4 dev_dependencies: flutter_test: