Closed AnthonyKoueik closed 3 years ago
beaconManager.isBound() should be false after calling beaconManager?.unbind(this)
beaconManager.isBound()
beaconManager?.unbind(this)
beaconManager.isBound() is always true
if (beaconManager?.isBound(this) == true) { stopRanging() beaconManager?.unbind(this) } else { if (beaconManager?.isBound(this) != true) { beaconManager?.bind(this) } }
Android OS 10
2.16.3 and 2.17.1
ok found that mScheduledScanJobsEnabled is true , this is why it is not unbinding
mScheduledScanJobsEnabled
Expected behavior
beaconManager.isBound()
should be false after callingbeaconManager?.unbind(this)
Actual behavior
beaconManager.isBound()
is always trueSteps to reproduce this behavior
Mobile device model and OS version
Android OS 10
Android Beacon Library version
2.16.3 and 2.17.1