I am working on an Android app using realm db as my local db, how do I sync my records in realm with my server side MySQL db?
Realm Database is a service which is provided by MongoDb which is used to store data in users device locally. With the help of this data can be stored easily in users' devices and can be accessed easily. We can use this database to store data in the user's device itself.
Update from 27 Septermber 2016:
Realm now fully supports synchronizing data against Realm Object Server. More details are available here.
19 June 2016
There is no such way - the Realm doesn't have such mechanisms, and it is logical. You mix different approaches - syncing data and storing locally (the mission of Realm, SQLite and other Android mobile DBs). You can do it by your own custom implementation (like in the tutorial), or using by SyncAdapter.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With