Zain Khan
Zain Khan

Reputation: 1844

Sync multiple devices without internet React Native

I have connect multiple android devices to the same WiFi network but internet connection is not working. I want to sync data between all devices. Is there anyway to do the data synchronization on local network without internet ? in short I want to sync data between devices using local network.

Upvotes: -1

Views: 777

Answers (1)

AKX
AKX

Reputation: 169338

Sure! It's not trivial though.

If you're looking to do this without using a "static" server or database or similar on the local network,

  • you'll need a way for the devices to be able to discover each other (the easiest is manually, i.e. by entering an IP address)
  • listen to network requests – on one device if you're looking for a star/server-client topology, or on all of them if you're looking for a mesh where all devices sync with all of them
  • have the devices talk to each other to sync data as required.

Upvotes: 0

Related Questions