Realm sync offline not opening. Realm not behaving like offline-first. Works like online-only #7859
Labels
Encryption:Off
Frequency:Always
More-information-needed
More information needed from the reporter. The issue will autoclose if no more information is given.
O-Community
Repro:Always
SDK-Use:Sync
T-Bug
Waiting-For-Reporter
Waiting for more information from the reporter before we can proceed
How frequently does the bug occur?
Always
Description
Expectation :
Realm.getInstance()
to load faster whether online/offline like any other offline library and continue read/write ops. And Realm check network connection, sync in background.What actually happened :
Realm not behaving like offline-first. Works like online-only. Realm is not opening in Offline mode and taking very long in online.
When online,
Realm.getInstanceAsync
takes long time to load, based on network speed. On fast network it takes ~1000ms and on slow network it takes almost 10-20 seconds.This freeze the UI and makes it unsable.
Stacktrace & log output
Can you reproduce the bug?
Always
Reproduction Steps
Here is my code :
Is the configuration correct or am I doing something wrong?
Version
10.15.1
What Atlas App Services are you using?
Atlas Device Sync
Are you using encryption?
No
Platform OS and version(s)
Android 12
Build environment
Android Studio version: Android Studio Giraffe | 2022.3.1 Patch 2
Android Build Tools version: ...
Gradle version: 8.1.2
The text was updated successfully, but these errors were encountered: