[JAVA] [Firebase] The problem that the currentUser of Firebase Auth does not become null even if the app is uninstalled.

Even if I uninstall the app, the return value of getCurrentUser () of Firebase Auth does not become null, so I am in trouble, so I will record the solution here.

The solution

After investigating, this problem seems to be due to the automatic backup function of android. I solved it by turning off this feature from the manifest. Specifically, I added the following code to manifest.xml.

manifest.xml


 <application
  android:allowBackup="false"
  android:fullBackupContent="false"
  ...

reference

Recommended Posts

[Firebase] The problem that the currentUser of Firebase Auth does not become null even if the app is uninstalled.
Setting method that the size does not change even if CSS is changed
The problem that the JDK set in JAVA_HOME does not appear even if java -version is performed at the command prompt
A story that suffered from a space that does not disappear even if trimmed with Java The cause is BOM
[Java] Dealing with the situation where the program that writes to the Output Stream of Process does not end even if waitFor
Even if I write the setting of STRICT_QUOTE_ESCAPING in CATALINA_OPTS in tomcat8.5, it is not reflected.
[Rails] The problem that pry-byebug does not stop through breakpoints
[Rails] Solving the problem that session timeout does not work
About the solution to the problem that the log of logback is not output when the web application is stopped
About the problem that the image is not displayed after AWS deployment
How to fix the problem that Aptana Studio does not start
[Java] You might be happy if the return value of a method that returns null is Optional <>
An active hash that can be treated as data even if it is not in the database
How to interact with a server that does not crash the app
Continuation ・ Active hash that can be handled as data even if it is not in the database ~ Display
[Swift] What to do if the app icon is set but not reflected
When using JPA (Hibernate), the Java application does not end even if it reaches the last line of the main method.