I am trying to use Android Beacon Library in an app that runs as a background service. I bind beaconManager on my service starting. I am unbinding it in onDestroy callBack.
I am setting iBeaconManager with setBackGroundScanPeriod and setBackGroundBetweenScanPeriod with some default values .
Whenever I run the application my service is called and automatically it is scanning for the beacons. The callback methods didEnterRegion and didExitRegion are called based on beacon availability and in didEnterRegion callBack method I am calling startRangingBeaconsInRegion.
Everything works fine when i was in the same region. And if I leave for a far location and reentered the same location it is not scanning the beacons.
Does location change really effect beacon scanning ? or else will it scan only for specific time? Anyone Please help me through this. Thanks in Advance.