You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After switch wifi, the failure callback will be called.
After that the zeroconf can't find new services.
I have tried:
this.zf.watch('_http._tcp.', 'local.', (result) => {
}, (ec) => {
// After switch wifi, this failure callback will be called.
console.log("zf error: ",ec);
this.zf.reInit();
});
but it does't work
Steps to reproduce:
connect wifi1
start app
switch to wifi2
4.check app
The text was updated successfully, but these errors were encountered:
I'm curious if the Zeroconf network adapters are being disposed of properly when running reInit from inside the watch callback. Could you share some network info in various spots (ie. inside watch and inside ec) with a plugin like https://github.com/apache/cordova-plugin-network-information ?
After switch wifi, the failure callback will be called.
After that the zeroconf can't find new services.
I have tried:
this.zf.watch('_http._tcp.', 'local.', (result) => {
}, (ec) => {
// After switch wifi, this failure callback will be called.
console.log("zf error: ",ec);
this.zf.reInit();
});
but it does't work
Steps to reproduce:
connect wifi1
start app
switch to wifi2
4.check app
The text was updated successfully, but these errors were encountered: