Sync Migration on android

According to documentation database automatically handles all synced schema migrations and does not allow to specify a migration function. That being said after adding a few models changes give me this error.

PlatformException (PlatformException(error, Migration is required due to the following errors:

Do I have to write sync migration? if yes then, how do I acces migration function for SyncConfiguration

Figured out issue on why it was giving the above error:
Basically I was doing Realm.getDefaultInstance() become starting the syncing. After removing Realm.getDefaultInstance() and adding it after the syncing process takes care of the migration automatically.

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.