How to synchronize data amongst devices in Wi-Fi

前端 未结 3 1891
南笙
南笙 2021-02-05 21:02

I am developing an app for iOS and Android. The basic functionality is to keep a certain set of data synchronized across all devices in a Wi-Fi network without a central server.

3条回答
  •  暗喜
    暗喜 (楼主)
    2021-02-05 21:49

    Getting client-server stuff working reliably can be quite challenging. especially cross-platform; there always seems to be one more edge-case that needs to be resolved. Rather than rebuilding the wheel, I recommend using an existing library where someone else has already worked out all the kinks. I haven't used it for anything beyond a prototype yet, but the AllJoyn open-source project looks very promising. Another option is the Google Nearby APIs, which at the moment are only for Android and iOS.

提交回复
热议问题