|
@@ -24,6 +24,7 @@ if (flutterVersionName == null) {
|
|
|
apply plugin: 'com.android.application'
|
|
apply plugin: 'com.android.application'
|
|
|
apply plugin: 'kotlin-android'
|
|
apply plugin: 'kotlin-android'
|
|
|
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
|
|
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
|
|
|
|
|
+apply plugin: 'com.google.gms.google-services'
|
|
|
|
|
|
|
|
android {
|
|
android {
|
|
|
compileSdkVersion 31
|
|
compileSdkVersion 31
|
|
@@ -45,7 +46,9 @@ android {
|
|
|
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
|
|
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
|
|
|
applicationId "com.example.physigo"
|
|
applicationId "com.example.physigo"
|
|
|
minSdkVersion 23
|
|
minSdkVersion 23
|
|
|
- targetSdkVersion flutter.targetSdkVersion
|
|
|
|
|
|
|
+ multiDexEnabled true
|
|
|
|
|
+ targetSdkVersion 31
|
|
|
|
|
+ minSdkVersion 19
|
|
|
versionCode flutterVersionCode.toInteger()
|
|
versionCode flutterVersionCode.toInteger()
|
|
|
versionName flutterVersionName
|
|
versionName flutterVersionName
|
|
|
}
|
|
}
|
|
@@ -65,4 +68,6 @@ flutter {
|
|
|
|
|
|
|
|
dependencies {
|
|
dependencies {
|
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
|
|
|
|
|
+ implementation platform('com.google.firebase:firebase-bom:30.0.0')
|
|
|
|
|
+ implementation 'com.google.firebase:firebase-analytics'
|
|
|
}
|
|
}
|