Skip to content

Commit

Permalink
Added log to indicate firebase status
Browse files Browse the repository at this point in the history
  • Loading branch information
tom5079 committed Jan 13, 2020
1 parent a947bc6 commit 290dda9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,12 @@ apply plugin: 'kotlin-android-extensions'
apply plugin: 'kotlinx-serialization'

if (file("google-services.json").exists()) {
logger.lifecycle("Firebase Enabled")
apply plugin: 'com.google.gms.google-services'
apply plugin: 'io.fabric'
apply plugin: 'com.google.firebase.firebase-perf'
} else {
logger.lifecycle("Firebase Disabled")
}

android {
Expand Down

0 comments on commit 290dda9

Please sign in to comment.