Skip to content

Commit 56dc956

Browse files
authored
Update README.md
1 parent bb00827 commit 56dc956

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,13 @@ FirebaseOptions options = new FirebaseOptions.Builder()
8181
.build();
8282
```
8383

84+
You can then pass this to the `initialize` function, along with a mock Android `context` supplied by the `firebase-java-sdk`, like so:
85+
```
86+
import android.app.Application
87+
88+
val app = Firebase.initialize(new Application(), options)
89+
```
90+
8491
## Project status
8592

8693
The following libraries are available for the various Firebase products.

0 commit comments

Comments
 (0)