I\'m trying to use the createUserWithEmailAndPassword method to create users but not able to do so.
The OnAuthenticate method is being called but user object is
For me, the way I solved this issue was firstly to make sure that I had enabled Email/Password signInAuth in firebase
lastly I made sure that the line
mAuth.createUserWithEmailAndPassword(username,password)
.addOnCompleteListener(**SignUpActivity.this**, task -> {
... }) had myactivity.this instead of this alone as the context