0

Our app uses Google Nearby Connections API and we have a problem when there is no WiFi router available. When a device creates a WiFi hotspot others can connect to it, but that device itself is not a part of that network.

Is there any workaround for this, or any other suggestions? Thanks.

Tigran
  • 3
  • 2

2 Answers2

1

Unfortunately, no. The host of a WiFi hotspot cannot advertise itself to clients of the network via Nearby Connections, since Nearby Connections uses multicast (mDNS) to communicate amongst clients of a multicast-enabled network.

1

https://developers.google.com/nearby/connections/v11-update

Devices no longer need to be connected to the same multicast-enabled wifi network to discover or connect to each other.

athil tech
  • 11
  • 1