Skip to content

Advanced operations

Vlad_Raven edited this page Jul 19, 2017 · 1 revision
  • You can configure the location of sync database (e.g. if you want to have separate database per user):
RealmiusSyncService.RealmiusDbPath = realmPath + "_sync";
  • You can stop synchronization by disposing sync service
syncService.Dispose();
  • You can delete sync database (to start synchronization from scratch, it will re-download all the data from the server, local data won't be uploaded):
syncService.Dispose();
syncService.DeleteDatabase();
  • After disposing (or deleting) you can reinitialize database (may be with different name) by creating new sync service as usual