FirebaseAuth.getInstance().getCurrentUser() returns previously logged out user
问题 I have Android app which uses FirebaseAuth and FirebaseDatabase functionalities. Everything was working fine. During last week I was working with one user (user 1) as an admin of the app and yesterday I registered another user (user 2) as a normal user(not admin). Since all my admin functionalities were working fine, I never logged in as the user 1 again. However I had to uninstall my app today and by that time I was logged in as user 2. When I reinstalled it again, I was automatically logged