Can't find anything in the documentation about falling back to the locally cached version of a synchronized realm when eg. the App is started in airplane mode. Am I missing something?
相关问题
- “Zero out” sensitive String data in Swift
- SwiftUI: UIImage (QRCode) does not load after call
- Get the NSRange for the visible text after scroll
- UIPanGestureRecognizer is not working in iOS 13
- Realm migration from a required variable to nullab
相关文章
- Using if let syntax in switch statement
- Enum with associated value conforming to CaseItera
- Swift - hide pickerView after value selected
- Is there a Github markdown language identifier for
- How can I vertically align my status bar item text
- Adding TapGestureRecognizer to UILabel in Swift
- Attempt to present UIAlertController on View Contr
- Swift - Snapshotting a view that has not been rend
This is now open as a feature request with the Realm guys.
https://github.com/realm/realm-mobile-platform/issues/14
Realm was sold to MongoDB in April 2019 at which point this issue was still outstanding. I would expect such to be tackled as part of integration of Realm's local store into a MongoDB cloud but never to be fixed in the core Realm Platform sync product.
If the user did log in before (when the connection was available) you can use
SyncUser.all()
to get a valid authenticated user, but if no user exists a network call to the auth server is required.We are working on adding support for creating a Realm and a User without initial network connection here: https://github.com/realm/realm-mobile-platform/issues/14