Issue: App crashes when the internet is turned off.
Error :[Realm.Sync.Client.Network - error] Failed to resolve ‘ws.services.cloud.mongodb.com:443’: Host not found (authoritative)
*Environment:
- @realm/react: ^0.6.2
- realm: ^12.13.1
- react-native: 0.75.4
- Previous Behavior: Worked fine for the last 2 years without issues.
- Current Behavior: Now crashes in offline mode instead of using local Realm DB.
- Expected Behavior: Should function offline and sync when internet is restored.
- Steps Taken:
- Verified app works online.
- Checked Realm offline-first configurations.
- No recent major changes in Realm setup.
- Need Help With:
- Why is this issue occurring now?
- How to prevent crashes in offline mode?
- Any new configurations needed?
Looking forward to your support.