From 56dc956b57e7d8b5a7a79b20c3bfa84e53a1c509 Mon Sep 17 00:00:00 2001 From: Nicholas Bransby-Williams Date: Fri, 29 Dec 2023 23:31:16 +0000 Subject: [PATCH] Update README.md --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 022c8e5..098489c 100644 --- a/README.md +++ b/README.md @@ -81,6 +81,13 @@ FirebaseOptions options = new FirebaseOptions.Builder() .build(); ``` +You can then pass this to the `initialize` function, along with a mock Android `context` supplied by the `firebase-java-sdk`, like so: +``` +import android.app.Application + +val app = Firebase.initialize(new Application(), options) +``` + ## Project status The following libraries are available for the various Firebase products.