firebase createUserWithEmailAndPassword is not working in android

后端 未结 8 584
别跟我提以往
别跟我提以往 2021-01-14 15:09

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

8条回答
  •  庸人自扰
    2021-01-14 15:43

    Just for anyone still looking something that hasn't worked above:

    I found that using your activity name before the this keyword in the first parameter of the .addOnCompleteListener works for me.

    eg. .addOnCompleteListener(LoginActivity.this, etc..);

    Hope this helps anyone still looking, Adam

提交回复
热议问题