Problem:

App crashing when using Firebase auth with error -“Default app has already been configured”? Don’t worry, There’s solution for everything!

The issue is with FirebaseApp.configure() being called multiple times, and it has simple solution for it.

Solution:

Use below code, Instead of FirebaseApp.configure() as mentioned in the Firebase documentation.

Aditya Khandelwal

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store