Re-run flutterfire configure and fix plugin versions

This commit is contained in:
Tommy Chow 2024-08-13 00:03:53 -07:00
parent 6444a52eec
commit d3b548075a
3 changed files with 30 additions and 3 deletions

View file

@ -1,5 +1,10 @@
plugins { plugins {
id "com.android.application" id "com.android.application"
// START: FlutterFire Configuration
id 'com.google.gms.google-services'
id 'com.google.firebase.firebase-perf'
id 'com.google.firebase.crashlytics'
// END: FlutterFire Configuration
id "kotlin-android" id "kotlin-android"
// The Flutter Gradle Plugin must be applied after the Android and Kotlin Gradle plugins. // The Flutter Gradle Plugin must be applied after the Android and Kotlin Gradle plugins.
id "dev.flutter.flutter-gradle-plugin" id "dev.flutter.flutter-gradle-plugin"

View file

@ -20,9 +20,9 @@ plugins {
id "dev.flutter.flutter-plugin-loader" version "1.0.0" id "dev.flutter.flutter-plugin-loader" version "1.0.0"
id "com.android.application" version "7.3.0" apply false id "com.android.application" version "7.3.0" apply false
id "org.jetbrains.kotlin.android" version "1.7.10" apply false id "org.jetbrains.kotlin.android" version "1.7.10" apply false
id "com.google.gms.google-services" version "4.4.2" apply false id "com.google.gms.google-services" version "4.3.15" apply false
id 'com.google.firebase.firebase-perf' version '1.4.2' apply false id "com.google.firebase.firebase-perf" version "1.4.2" apply false
id "com.google.firebase.crashlytics" version "3.0.2" apply false id "com.google.firebase.crashlytics" version "2.9.9" apply false
} }
include ":app" include ":app"

22
firebase.json Normal file
View file

@ -0,0 +1,22 @@
{
"flutter": {
"platforms": {
"android": {
"default": {
"projectId": "frosty-128de",
"appId": "1:403282332389:android:a7ff237168bad4c30be20c",
"fileOutput": "android/app/google-services.json"
}
},
"dart": {
"lib/firebase_options.dart": {
"projectId": "frosty-128de",
"configurations": {
"android": "1:403282332389:android:a7ff237168bad4c30be20c",
"ios": "1:403282332389:ios:0fc3f8c3d4e80c8b0be20c"
}
}
}
}
}
}