zeroconf.watch('_http._tcp.', 'local.', ({ action, service }) => {
console.log(service)
if (action === "resolved") {
console.log(service)
} else if (action === "removed") {
console.log(service)
}
})
Same code works on iOS. It was working on Android but suddenly it stopped. Any suggestions?
Getting this error in failure callback:
Error: Attempt to invoke interface method 'boolean java.util.Enumeration.hasMoreElements()' on a null object reference
Same code works on iOS. It was working on Android but suddenly it stopped. Any suggestions?
Getting this error in failure callback:
Error: Attempt to invoke interface method 'boolean java.util.Enumeration.hasMoreElements()' on a null object reference