Android Beacon Library Not Start Detecting Beacons
Solution 1:
A few things to check:
Is your beacon advertising? Try an off-the-shelf app like BeaconScope and make sure it is detected.
Did you dynamically request and obtain location permission from the user? You cannot detect beacons unless you do so.
Did you set a BeaconParser for the type of beacon you are using? If using AltBeacon you don't need to do this. But if using iBeacon you do.
Do you get a call to "didDetermineStateForRegion"? Does it say you are already inside the region? If so, it may be that your beacon is detected, but the library thinks it is already in the region (it remembers this across restarts) so it never calls didEnterRegion again.
Is bluetooth on? Is location turn on in phone settings? If you check app permissions does it confirm that location permission has been granted to your app?
Post a Comment for "Android Beacon Library Not Start Detecting Beacons"