I am working on Nearby Message API to start a service in my App in he background whenever Eddystone beacon detected nearby.
It works fine but what I observed is that it trigger its onFound event every time I restart Bluetooth.
But I want to trigger onFound event every time I(android device) comes in the range of a beacon(Bluetooth would always be in On Mode).
After debugging, I found that this happens because onLost event not triggered when I go out the range of my beacon, instead, onLost only triggered when I turn-off Bluetooth.
So my Question is, what is the expected behavior of onLost event, and is it possible what I am thinking?
Thanks in advance for your views.