How do Realm add existing user data to the mobile

2019-09-04 05:26发布

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条回答
乱世女痞
2楼-- · 2019-09-04 06:10

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.

查看更多
登录 后发表回答