Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'_services._dns-sd._udp' not working on real IOS device. #67

Open
skitsa1 opened this issue Apr 24, 2024 · 3 comments
Open

'_services._dns-sd._udp' not working on real IOS device. #67

skitsa1 opened this issue Apr 24, 2024 · 3 comments

Comments

@skitsa1
Copy link

skitsa1 commented Apr 24, 2024

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

@skitsa1
Copy link
Author

skitsa1 commented Apr 24, 2024

Have identified is fixed when adding the following to info. list.
_services._dns-sd._udp
or
_dns-sd._udp

but then it only discovers other services that are on disclosed on info.plist "_http._tcp"

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

@Infinical
Copy link

@skitsa1 you need to requestfor multicast entitlement from apple for this to work

@skitsa1
Copy link
Author

skitsa1 commented May 8, 2024

Working. Much appreciated. Saved the project 10/10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants