File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
src/main/java/com/google/firebase/installations/local Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 11# Unreleased
2- * [ fixed] Fix FIS ID duplication issue from backup data. (#7025 )
2+ * [ fixed] Mitigated FIS ID duplication issue from backup data. (#7025 )
33
44# 18.0.0
55* [ changed] Bump internal dependencies
Original file line number Diff line number Diff line change @@ -95,6 +95,8 @@ private File getDataFile() {
9595 if (dataFile .exists ()) {
9696 return dataFile ;
9797 }
98+ // Data associated with FID shouldn't be stored in backup directory. Hence if the FID data
99+ // is present in the backup directory you move it to the non backup directory.
98100 File dataFileBackup =
99101 new File (
100102 firebaseApp .getApplicationContext ().getFilesDir (),
@@ -105,6 +107,7 @@ private File getDataFile() {
105107 TAG ,
106108 "Unable to move the file from back up to non back up directory" ,
107109 new IOException ("Unable to move the file from back up to non back up directory" ));
110+ return dataFileBackup ;
108111 }
109112 }
110113 }
You can’t perform that action at this time.
0 commit comments