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 1
1
# Unreleased
2
- * [ fixed] Fix FIS ID duplication issue from backup data. (#7025 )
2
+ * [ fixed] Mitigated FIS ID duplication issue from backup data. (#7025 )
3
3
4
4
# 18.0.0
5
5
* [ changed] Bump internal dependencies
Original file line number Diff line number Diff line change @@ -95,6 +95,8 @@ private File getDataFile() {
95
95
if (dataFile .exists ()) {
96
96
return dataFile ;
97
97
}
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.
98
100
File dataFileBackup =
99
101
new File (
100
102
firebaseApp .getApplicationContext ().getFilesDir (),
@@ -105,6 +107,7 @@ private File getDataFile() {
105
107
TAG ,
106
108
"Unable to move the file from back up to non back up directory" ,
107
109
new IOException ("Unable to move the file from back up to non back up directory" ));
110
+ return dataFileBackup ;
108
111
}
109
112
}
110
113
}
You can’t perform that action at this time.
0 commit comments