becvert / cordova-plugin-zeroconf

Cordova ZeroConf Plugin
MIT License
81 stars 57 forks source link

Not finding some services #37

Closed julianCast closed 7 years ago

julianCast commented 7 years ago

Sometimes, it doesnt find all services I have on. I double checked they were on with with Safari bonjour. After closing zeroconf and opening it several times, it found it.

This happens very often.

Zeroconf 1.2.4 - Android 7 - ionic 3.3.0

becvert commented 7 years ago

Please feel free to review the code. have a look at the underlying libraries too. I don't have much time right now for further investigations

becvert commented 7 years ago

Please upgrade to 1.2.5 and try

var zeroconf = cordova.plugins.zeroconf;
zeroconf.watchAddressFamily = 'ipv4'; // or 'ipv6' ('any' by default)