@djoxna wrote:
Hey! Did anyone else had a problem with using cordova-plugin-zeroconf on Android? Everything is working okay on iOS.
zeroconf.watch('_http._tcp.', 'local.', ({ action, service }) => { console.log(service) if (action === "resolved") { console.log(service) } else if (action === "removed") { console.log(service) } }, err => console.log(err))
The error I’m getting is:
Error: Attempt to invoke interface method ‘boolean java.util.Enumeration.hasMoreElements()’ on a null object reference
Posts: 1
Participants: 1