Getcurrentuser() return null
I facing a problem with getcurrentuser() after signout Getinstance().signout In phone authentication Now currentuser return null how to overcome this?
I use phone authentication to login into the android app. Everything was working fine until when I use the "sign out" button using
getinstance().signout
And after that, when I login again using phone number, I could log into the app, but now I am getting error to get current, it returns null.
How to overcome this problem? I am stuck in it.