-
Notifications
You must be signed in to change notification settings - Fork 58
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
Service not found on android when name is ip address #6
Comments
I'll have a look |
can you try "192.168.0.205._http._tcp.local"? else report the issue with the jmdns library. I'm trying get a more recent version of that library. as a workaround, you could also publish a more user-friendly name such as a host name or device name cordova-plugin-device-name |
I tried with "192.168.0.205._http._tcp.local" but that's not working either. Thanks for your time. |
I agree with you. I don't understand why it is not working. |
Note that a few years ago a master student at our university did some research about the topic. He found out that Android's official NSD support seemed to be more stable than jmdns, and he used it in his app, with success. It could be nice to test this one :) Thanks for your plugin and the support you provide. |
But API 16 is required for NSD. Also note that I think both JmDNS and NSD prevent collisions by incrementing service names. |
Indeed. I would be very interested for the NSD implementation. |
I won't (or can't) fix your issue |
JmDNS seems to have fixed the issue https://github.com/jmdns/jmdns/blob/master/CHANGELOG.txt
|
I upgraded JmDNS. |
Hi,
I'm using the plugin for one of my projects, until now I tested it on iOS and it works fine.
However, on Android (Nexus 5 phone) the published services are not found.
Because I don't want my app to publish accidentally a service with the same name as another one I'm using the machine's ip address as name, hence it will be unique. But Android refuses to publish them.
I made a minimal example that shows the problem :
The text was updated successfully, but these errors were encountered: