I am currently using Realm as an offline database in the iOS app.
if I were to add support for Realm mobile platform, will it automatically grab all the Realm user data and migrate it to the cloud?
Or
is there some code that is needed to move the data to the cloud?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
Realm Mobile Platform is not a cloud service but consists of Realm Object Server, a server application you can run on your own (supports various flavors of Linux) and Realm Mobile Database. If you are already using Realm Mobile Database in your app today, you cannot just upgrade and expect those Realms to sync with Realm Object server. Instead you much create synchronized Realms through the new API and copy data from the existing Realm into the synchronized Realm.