realm mobile platform, how to connect while offline?

后端 未结 1 1657
感动是毒
感动是毒 2021-01-03 01:03

the new realm mobile platform is advertised with offline support, however most tutorials does not show how that works in the examples...

for example, in their todo a

相关标签:
1条回答
  • 2021-01-03 01:59

    After you successfully log in (or register) the user it's cached in the device's keychain and you can retrieve it via currentUser property or alternatively if your app supports multiple users all even when you're offline.

    Please note if you call logout on a user then it will be removed from the keychain and you will have to be online and log in again.

    0 讨论(0)
提交回复
热议问题