-
Type: Bug
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Local
-
None
When initialData or initialSubscriptions throw an exception, we should delete the Realm file, so the logic can be retried, but this is currently difficult to achieve, especially for synchronized Realms due to the SyncClient holding on to Realm file handles.
Core will be providing a solution for this which we should adopt: https://github.com/realm/realm-core/pull/5540