nsd
nsd copied to clipboard
'_services._dns-sd._udp' not working on real IOS device.
Description
I got '_services._dns-sd._udp' working on a simulator, but when I try it on a real IOS device, it doesn't work. Please help.
Getting this error. [MethodChannelNsdPlatform] [2024-04-24 13:25:22.546129] [calls] Callback: onDiscoveryStartFailed {handle: b3036420-f8ad-46ec-a819-69cf24ec50e9} [MethodChannelNsdPlatform] [2024-04-24 13:25:22.536451] [calls] Call: startDiscovery {handle: b3036420-f8ad-46ec-a819-69cf24ec50e9, service.type: _services._dns-sd._udp}
Scenario
Run the example application
Platform
iOS
Have identified is fixed when adding the following to info. list.
but then it only discovers other services that are on disclosed on info.plist "
this is unfavourable because I am trying to discover all services and wont be able to disclose these all on info.plist as don't know what they are.
Not confident will be able to find solution to this one. Cheers
@skitsa1 you need to requestfor multicast entitlement from apple for this to work
Working. Much appreciated. Saved the project 10/10