Skip to content

Commit a1ca426

Browse files
committed
add getInstance() back to FirebaseAuth
1 parent 698f4d7 commit a1ca426

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/main/java/com/google/firebase/auth/FirebaseAuth.kt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -292,6 +292,9 @@ class FirebaseAuth constructor(
292292
}
293293

294294
companion object {
295+
@JvmStatic
296+
fun getInstance(): FirebaseAuth = getInstance(FirebaseApp.getInstance())
297+
295298
@JvmStatic
296299
fun getInstance(app: FirebaseApp): FirebaseAuth = app.get(FirebaseAuth::class.java)
297300

0 commit comments

Comments
 (0)