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

iOS14 use zeroconf scan Error #142

Open
BigFaceCatQuQ opened this issue Oct 20, 2020 · 5 comments
Open

iOS14 use zeroconf scan Error #142

BigFaceCatQuQ opened this issue Oct 20, 2020 · 5 comments

Comments

@BigFaceCatQuQ
Copy link

BF6E3E51-86B8-4A7A-B15A-D23510BCD6B2_1_101_o

image

@BigFaceCatQuQ
Copy link
Author

this problem has been solved, my config went wrong

@Vannevelj
Copy link

Vannevelj commented Nov 30, 2020

@BigFaceCatQuQ can you clarify what the issue was with your config? I'm seeing this error when I go through these steps:

  1. Resolve a service
  2. Background the app
  3. Stop the service advertisement
  4. Foreground the app

Edit: found the underlying issue! Solution detailed in #23 (comment)

@salmazov
Copy link

The same problem. I just start scanning and I have the same error on iOS. Android version works pretty good!

@tavrez
Copy link

tavrez commented Apr 17, 2021

I also have this problem.
On Android everything is fine.
on iOS 12 everything is also fine.
but iOS 14 shows same error. I configured info.plist according to readme.
when I call zeroconf.scan("... in componentdidmount this happens(no sleep lock screen etc)

@tavrez
Copy link

tavrez commented Apr 18, 2021

Update, my problem solved.
For me it was a problem because of info.plist .
If you do zeroconf.scan('TOPIC','tcp') then you need <string>_TOPIC._tcp</string> in info.plist. I think document should be updated to clearly show this.
Also I feel like NSLocalNetworkUsageDescription needs to be on top of NSBonjourServices, but I'm not sure.

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

4 participants