Computer scienceProgramming languagesKotlinAdditional instrumentsDatabases and storageFirebase development

Firebase Authentication

Theory

Time to initialize Firebase

Report a typo

You need to fix the method to initialize Firebase in a Kotlin app.

Reorder lines using drag or arrows. Adjust indentation with left buttons
                setContentView(R.layout.activity_main)
              
                }
              
                class MainActivity : AppCompatActivity() {
              
                super.onCreate(savedInstanceState)
              
                override fun onCreate(savedInstanceState: Bundle?) {
              
                }
              
                FirebaseApp.initializeApp(this)
              

Create a free account to access the full topic