-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
2 - S (<= 1 week)
-
8469
-
Cocoa Realm
How frequently does the bug occur?
Always
Description
I did not have issues with sync connection issues until I upgraded my package version. I thought it might be to something with my code so I went back to the example project here when I was learning realm:
The results were the same when upgrading to the latest realm package version offline mode is no longer supported. However using a previous version like 10.41.1 I was able to get it working.
My application subscription retention relays a lot on offline support so any help would be great.
Stacktrace & log output
No response
Can you reproduce the bug?
Always
Reproduction Steps
clone the repository provided:
https://github.com/mongodb-university/realm-template-apps/tree/20d5e3b39c30e777a2d2204cd122e72e7c0bf0d3/sync-todo/v2/client/swiftui/App
Upgrade Packages to latest version in XCode.
Turn on airplane mode wait a bit and see a connection error.
Enter the app and see that there is sync connection errors.
Version
13.26.0
What Atlas Services are you using?
Atlas Device Sync
Are you using encryption?
No
Platform OS and version(s)
iOS 17
Build environment
Xcode version: Version 15.0.1
Realm: 13.26.0
Realm Database: 13.26.0
- is caused by
-
RCORE-1982 Opening realm with cached user while offline results in fatal error and session does not retry connection
- Closed
- is fixed by
-
RCORE-2060 Enabling 'cancel_waits_on_nonfatal_error' does not cancel waits during location update while offline
- Closed