createUserWithEmailAndPassword

fun createUserWithEmailAndPassword(firstName: String, lastName: String, email: String, password: String, home: () -> Unit)

Create a user with email and password within Firebase Authentication and Database

Return

Unit

Parameters

email

email of the user

firstName

first name of the user

lastName

last name of the user

password

password of the user

home

function to call when the user is created

See also

FirebaseAuth.createUserWithEmailAndPassword
LoginScreenViewModel.createUser