diff --git a/.gitignore b/.gitignore index b7169596..66358245 100644 --- a/.gitignore +++ b/.gitignore @@ -66,8 +66,11 @@ android/key.properties # Firebase android/firebase_app_id_file.json +android/app/google-services.json ios/firebase_app_id_file.json +ios/Runner/GoogleService-Info.plist macos/firebase_app_id_file.json +macos/Runner/GoogleService-Info.plist # Node Dependency directories node_modules/ diff --git a/android/app/build.gradle b/android/app/build.gradle index 0c0520cb..cd8e8767 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -22,6 +22,7 @@ if (flutterVersionName == null) { } apply plugin: 'com.android.application' +apply plugin: 'com.google.gms.google-services' apply plugin: 'kotlin-android' apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle" diff --git a/android/build.gradle b/android/build.gradle index 511b8eec..699f89fe 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -7,6 +7,7 @@ buildscript { dependencies { classpath 'com.android.tools.build:gradle:4.1.0' + classpath 'com.google.gms:google-services:4.3.10' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" } }