Closed zaki50 closed 8 years ago
I've checked the app again and it worked as expected.
FWIW, the iOS and macOS versions always create the initial list if the Realm is empty: https://github.com/realm/RealmTasks/blob/v0.2.2/RealmTasks%20Apple/RealmTasks%20Shared/SharedFunctionality.swift#L34-L43
@jpsim thank you for your comment.
I think the logic is almost the same. createInitialDataIfNeeded()
which is add in this PR is executed in the following cases.
SyncUser
There is a case that the database is empty when the app logged into the server.
@realm/java