Is iOS 7 Multipeer Connectivity compatible with Android Wi-Fi Direct?

前端 未结 6 1274
清歌不尽
清歌不尽 2020-12-07 18:49

I\'ve been looking at iOS 7\'s new P2P networking framework, MultipeerConnectivity, and from the description, it seems to me that it uses a combination of some kind of Wi-Fi

6条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-07 19:32

    Maybe a bit delayed, but technologies have evolved since so there is certainly new info around.

    As iOS has yet to open up an API for WiFi Direct and Multipeer Connectivity is iOS only, I believe the best way to approach this is to use BLE, which is supported by both platforms (some better than others).

    On iOS a device can act both as a BLE Central and BLE Peripheral at the same time, on Android the situation is more complex as not all devices support the BLE Peripheral state. Also the Android BLE stack is very unstable (to date).

    If your use case is feature driven, I would suggest to look at Frameworks and Libraries that can achieve this for you, without you needing to build it up from scratch.

    For example: p2pkit.io or google nearby

    Disclaimer: I work for Uepaa, developing p2pkit.io for Android and iOS.

提交回复
热议问题