I'm trying to work out how to specify both ends of a SyncConfiguration
In our case we distribute a prepopulated database with our app. We are considering migrating to Realm.
Each user has their own database. We want that local database to sync to the user's own database on ROS. We work in DotNet
Looking at the SyncConfiguration Class, using the constructor SyncConfiguration(User, Uri, String) String is Path to the realm. Is that the path to the local realm?
var configuration = new SyncConfiguration(user, serverURL, localPath);
Will the database we distribute at localPath then sync to the database at serverURL on ROS?
Is this the most efficient way to distribute and sync a prepopulated database using Realm?
When the user installs our app on other devices, a new local database will be installed on those devices. Will that cause conflicts to arise?
EDIT Having slept on this issue I'm inclined to think a better approach would be to not distribute a database at all. Instead we could distribute the initial data as json files. When the app runs for the first time those json files can be read into realm objects and written to the db on ROS.
That way we don't have to worry about a local db at all. Is that a better solution?