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

Commit 599db56

Browse files
FirebaseApp with name [DEFAULT] doesn't exist #36
1 parent fe39be6 commit 599db56

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,17 @@ From the command prompt go to your app's root folder and execute:
2929
tns plugin add nativescript-plugin-firebase
3030
```
3131

32+
### Android
33+
- Open `platforms/android/build.gradle`
34+
- Near the top there's a dependencies section, add `classpath "com.google.gms:google-services:3.0.0"` so it becomes something like:
35+
```
36+
dependencies {
37+
classpath "com.android.tools.build:gradle:1.5.0"
38+
classpath "com.google.gms:google-services:3.0.0"
39+
}
40+
```
41+
- Add the very bottom of the same file add `apply plugin: "com.google.gms.google-services"`
42+
3243
## Usage
3344

3445
If you want a quickstart, [clone our demo app (the one in the YouTube video)](https://github.com/EddyVerbruggen/nativescript-plugin-firebase-demo).

0 commit comments

Comments
 (0)