react-native-zeroconf
react-native-zeroconf copied to clipboard
Android returns {}
I got inconsistent result between platforms. None when scan with android and few when scanning on ios. Both share the same code and network. Using other tools I can confirm that services are advertising correctly on this network. I am on RN 0.59.8. This package seems to have limitations that are not documented. I got no error messages. Android always returns {} and resolved event is not invoked.
I've experienced something similar. It used to trigger the resolved event with all services, but now it doesn't anymore.
Same issue here, nothing is returned at all.
Any progress with that? someone?
Having the same issue that the resolvedevent is never invoked. For some reason it worked yesterday and without changing anything it doesn't work anymore. Anyone a solution?
edit: foundevent returns data but they never get resolved.
This npm package [1]: https://github.com/tableau/react-native-dns-lookup is the only option if you want to get the ip address (local ip too) using mdns hostname. [2]: https://github.com/avertin/DnsTest/blob/master/App.js#L30 Here is an example by the contributor