Skip to content

Commit

Permalink
#14 Chore: fluttertoast를 위한 설정파일 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
Jinyshin committed Nov 27, 2023
1 parent 5bec802 commit 962b600
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 3 deletions.
6 changes: 4 additions & 2 deletions unibond/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down Expand Up @@ -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
Expand Down
14 changes: 14 additions & 0 deletions unibond/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -210,3 +223,4 @@ packages:
version: "2.1.4"
sdks:
dart: ">=3.0.6 <4.0.0"
flutter: ">=1.10.0"
2 changes: 1 addition & 1 deletion unibond/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 962b600

Please sign in to comment.