cordova-plugin-ibeacon icon indicating copy to clipboard operation
cordova-plugin-ibeacon copied to clipboard

Unable to range Konakt.io in iBeacon Mode

Open lesmo opened this issue 7 years ago • 2 comments

Hi.

I've started using this plugin and currently I've been unable to make it work with Kontakt.io beacons. During development we emulated an iBeacon with Locate Beacon App for Android and worked perfectly. The exact same code is unable to locate any of the Kontakt beacons I've already configured to be set in iBeacon mode.

I've literally coded on top of the quickstart repo, so the code is kinda' all over the place but important part is (I think):

        if (beaconsList && beaconsList.uuids) {
            $timeout(function() {
                $.each(beaconsList.uuids, function (i, uuid) {
                    proximityManager.addRangedRegion({
                        uuid: uuid,
                        identifier: uuid,
                        typeName: "BeaconRegion"
                    });
                });
            }, 1000);
        }

        // someplace later
        proximityManager.onDidRangeBeaconsInRegion(function(res) {
            //res.beacons is empty all the time
        });

Ranged regions registration work as expected. The beaconsList.uuids array isn't null or empty. I've already tried only using one UUID, but didn't work either. Whenever I start the emulation of iBeacon with my phone, my callback is correctly called... everything's awesome.

Problem is Kontakt iBeacons apparently. I've run out of ideas so far, but I'll keep digging. Hopefully someone can shed some light on this matter.

Thanks a lot!

lesmo avatar Sep 05 '16 22:09 lesmo

We've tracked down the issue to be related to the UUID. For some reason, when using anything but the Open Beacon UUID it's not picked up.

We'll keep testing stuff.

lesmo avatar Sep 06 '16 00:09 lesmo

Facing the same issue, not able to detect Kontakt Beacons, is there any solution for this?

ravishan110 avatar Apr 28 '17 16:04 ravishan110