I am trying to achieve peer-to-peer offline sync for React Native devices.
While it is possible to have a sync while online, I’m trying to figure out, when there is no internet connection. The devices are connected through wifi, but the main network can sporadically lose internet for hours. The devices should still be able to sync their realmdb.
Atlas Device Sync currently only supports online sync with Atlas’ cloud backend. Applications using a Realm SDK write data locally on the device first, and will sync with Atlas when network access is available. Peer-to-peer offline sync is not a current feature of the Realm SDKs, but you could raise this as a suggestion on the MongoDB Feedback Engine.