I'm trying to implement Google's Nearby connectios library in ios but I noticed that discovery and advertising only works when the devices are connected to the same wifi network. That is, I believe that the problem is that research and publication takes place only via LAN and not via bluetooth. I tried to implement the request for all the necessary permissions for the bluetooth but it still doesn't work. Any solutions? Thanks in advance.
This is currently an open issue on the Nearby GitHub repo.
BLE support is not enabled for iOS yet, but you can manually enable the feature by setting the flag to true
, as described here.