Skip to content

Commit 239dbdc

Browse files
authored
Update FCMPlugin.gradle
1 parent ac6260c commit 239dbdc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/android/FCMPlugin.gradle

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,4 +61,6 @@ dependencies {
6161
}
6262
// apply plugin: 'com.google.gms.google-services'
6363
// class must be used instead of id(string) to be able to apply plugin from non-root gradle file
64-
apply plugin: com.google.gms.googleservices.GoogleServicesPlugin
64+
if (!project.plugins.hasPlugin('com.google.gms.google-services')) {
65+
apply plugin: com.google.gms.googleservices.GoogleServicesPlugin
66+
}

0 commit comments

Comments
 (0)