First, we create a FirebaseAuth object then initialize it under the onCreate function. Now, we receive the email and password typed by the user. Then using the FirebaseAuth object, we create a new account for the user with the createUserWithEmailAndPassword function which receive an email and password as a parameter.18 Şub 2021