Ennova-IT / ZeRXconf

This library is our implementation of ZeroConf for Android, using native Android API and JmDNS
36 stars 11 forks source link

No callback if device disconnect from the network #7

Open nishantpardamwar opened 6 years ago

nishantpardamwar commented 6 years ago

Using ZeRXconf v1.0.3 Devices Marshmallow and Nougat.

I'm advertising and discovery at the same time and keeping the discovered device list in memory, everything is working fine upto this point but if device gets disconnected (e.g. wifi turned off) then i get no call back regarding device disconnected(if that device was discovered before), i waited for 5 min but still to call back.

But when device is connected and it stops advertising then i get device disconnected call back. Is it suppose to work like this only or am i doing something wrong.