Skip to content
This repository was archived by the owner on Apr 3, 2025. It is now read-only.

Commit 71f597b

Browse files
committed
fix(android): apply Google Play Services plugin during gradle build
[skip ci]
1 parent abf117a commit 71f597b

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,11 @@ android/key.properties
6666

6767
# Firebase
6868
android/firebase_app_id_file.json
69+
android/app/google-services.json
6970
ios/firebase_app_id_file.json
71+
ios/Runner/GoogleService-Info.plist
7072
macos/firebase_app_id_file.json
73+
macos/Runner/GoogleService-Info.plist
7174

7275
# Node Dependency directories
7376
node_modules/

android/app/build.gradle

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ if (flutterVersionName == null) {
2222
}
2323

2424
apply plugin: 'com.android.application'
25+
apply plugin: 'com.google.gms.google-services'
2526
apply plugin: 'kotlin-android'
2627
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
2728

android/build.gradle

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ buildscript {
77

88
dependencies {
99
classpath 'com.android.tools.build:gradle:4.1.0'
10+
classpath 'com.google.gms:google-services:4.3.10'
1011
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
1112
}
1213
}

0 commit comments

Comments
 (0)