{"action":"created","issue":{"url":"https://api.github.com/repos/becvert/cordova-plugin-zeroconf/issues/6","repository_url":"https://api.github.com/repos/becvert/cordova-plugin-zeroconf","labels_url":"https://api.github.com/repos/becvert/cordova-plugin-zeroconf/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/becvert/cordova-plugin-zeroconf/issues/6/comments","events_url":"https://api.github.com/repos/becvert/cordova-plugin-zeroconf/issues/6/events","html_url":"https://github.com/becvert/cordova-plugin-zeroconf/issues/6","id":140837551,"number":6,"title":"Service not found on android when name is ip address","user":{"login":"kevin-dp","id":17384006,"avatar_url":"https://avatars.githubusercontent.com/u/17384006?v=3","gravatar_id":"","url":"https://api.github.com/users/kevin-dp","html_url":"https://github.com/kevin-dp","followers_url":"https://api.github.com/users/kevin-dp/followers","following_url":"https://api.github.com/users/kevin-dp/following{/other_user}","gists_url":"https://api.github.com/users/kevin-dp/gists{/gist_id}","starred_url":"https://api.github.com/users/kevin-dp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevin-dp/subscriptions","organizations_url":"https://api.github.com/users/kevin-dp/orgs","repos_url":"https://api.github.com/users/kevin-dp/repos","events_url":"https://api.github.com/users/kevin-dp/events{/privacy}","received_events_url":"https://api.github.com/users/kevin-dp/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-15T00:46:51Z","updated_at":"2016-03-15T08:02:06Z","closed_at":null,"body":"Hi,\r\n\r\nI'm using the plugin for one of my projects, until now I tested it on iOS and it works fine.\r\nHowever, on Android (Nexus 5 phone) the published services are not found. \r\n\r\nBecause 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.\r\n\r\nI made a minimal example that shows the problem : \r\n\r\n```\r\nvar zeroconf = cordova.plugins.zeroconf;\r\nzeroconf.watch('_http._tcp.local.', function(result) { \r\n    // Display result.service.name --> Displayed on iOS but not on Android\r\n});\r\n\r\n// If below i provide as name '192/168/0/205' it also works on Android, but with the points not...\r\nzeroconf.register('_http._tcp.local.', '192.168.0.205', 80, {\r\n        'foo' : 'bar'\r\n});\r\n```\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/becvert/cordova-plugin-zeroconf/issues/comments/196708563","html_url":"https://github.com/becvert/cordova-plugin-zeroconf/issues/6#issuecomment-196708563","issue_url":"https://api.github.com/repos/becvert/cordova-plugin-zeroconf/issues/6","id":196708563,"user":{"login":"becvert","id":1422417,"avatar_url":"https://avatars.githubusercontent.com/u/1422417?v=3","gravatar_id":"","url":"https://api.github.com/users/becvert","html_url":"https://github.com/becvert","followers_url":"https://api.github.com/users/becvert/followers","following_url":"https://api.github.com/users/becvert/following{/other_user}","gists_url":"https://api.github.com/users/becvert/gists{/gist_id}","starred_url":"https://api.github.com/users/becvert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/becvert/subscriptions","organizations_url":"https://api.github.com/users/becvert/orgs","repos_url":"https://api.github.com/users/becvert/repos","events_url":"https://api.github.com/users/becvert/events{/privacy}","received_events_url":"https://api.github.com/users/becvert/received_events","type":"User","site_admin":false},"created_at":"2016-03-15T08:02:06Z","updated_at":"2016-03-15T08:02:06Z","body":"I'll have a look"}}