Skip to content

Commit

Permalink
Step 3b - Add Firebase functionality to app
Browse files Browse the repository at this point in the history
Add your google-services.json file, and add plugin references in both app and project-level build.gradle files.
  • Loading branch information
tomczoink committed Jan 10, 2020
1 parent e0c3b70 commit 89ed1b7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions PushTutorial/app/build.gradle
Expand Up @@ -23,3 +23,5 @@ dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'androidx.appcompat:appcompat:1.1.0'
}

apply plugin: 'com.google.gms.google-services'
3 changes: 3 additions & 0 deletions PushTutorial/app/google-services.json
@@ -0,0 +1,3 @@
{
"TODO" : "REPLACE WITH REAL GOOGLE-SERVICES FROM FIREBASE APP SETUP"
}
2 changes: 1 addition & 1 deletion PushTutorial/build.gradle
Expand Up @@ -8,7 +8,7 @@ buildscript {
}
dependencies {
classpath 'com.android.tools.build:gradle:3.5.3'

classpath 'com.google.gms:google-services:4.3.2'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
Expand Down

0 comments on commit 89ed1b7

Please sign in to comment.