Android, Firebase Auth, user session still exists when user deletes and reinstall app

前端 未结 1 1060
闹比i
闹比i 2020-12-21 15:56

In my first launching activity there is lines of code that checks if user is logged in by Firebase:

    if (mAuth.getCurrentUser() != null) {
                        


        
1条回答
  •  一整个雨季
    2020-12-21 16:42

    Firebase support answered me and yes Firebase tries to keep some data even if appliaction is deleted.

    In order to clear data when deleteing, I needed to disable backuping in my applications manifest in application:

    android:allowBackup="false"
    android:fullBackupContent="false"
    

    0 讨论(0)
提交回复
热议问题