evothings / phonegap-estimotebeacons

This repository is no longer maintained - new maintainer is welcome!
MIT License
338 stars 178 forks source link

when searching for beacons - only defaults UUID found #78

Open oriefrati opened 9 years ago

oriefrati commented 9 years ago

when searching for beacons - only defaults UUID found. beacons with different UUID are not found

engbmsdev commented 9 years ago

Same problem for me! I have solved scanning only a specific region:

estimote.beacons.startRangingBeaconsInRegion(
    {
        "identifier": "MyRegion",
        "uuid": "ABCDEFGH-1234-5678-QWER-ASDFGHJKLZXC"
    },
    successCallback,
    errorCallback
);
oriefrati commented 9 years ago

so i have to specify all my beacons UUID to fine them? there is no way to find any estimote beacons?

engbmsdev commented 9 years ago

Yes, I have set in all my beacons the same UUID. According to the documentation, to find all beacons in all regions you have to pass an empty object {} but in my case this seems not working.

oriefrati commented 9 years ago

this repository still active? because its pretty important bug

TheMattRay commented 9 years ago

I am not seeing this behavior. However, I did notice that the Virtual Beacon mode on phones is not being picked up by the empty parameter.

oriefrati commented 9 years ago

can i provide any logs or something to solve this issue? there is any plan to upgrade the plugin to new SDK?

takahser commented 9 years ago

I also run into this! Any news on when this will be fixed?

note: I also used the estimote app on an iphone 6 to emulate an ibeacon. @TheMattRay so this bug doesn't exist on the real estimote ibeacons? because I haven't purchased any yet, and if this app didn't work it'd the ibeacons would be useless for me..

heypiotr commented 9 years ago

Piotr from Estimote here, we make the SDK which is used by this plugin. I can confirm that on Android it won't pick up the virtual beacon, but will pick up physical estimotes just fine.

As for the default UUID—our Android SDK actually allows to pick up all the estimotes regardless of their UUID if you set it to null. iOS however doesn't allow that—you need to provide some UUID. Since PhoneGap in general is supposed to enable you to build hybrid apps, I can understand why the maintainers of this plugin decided to level to iOS:

https://github.com/evothings/phonegap-estimotebeacons/blob/master/plugin/src/android/EstimoteBeacons.java#L444

You can still provide a specific UUID to detect custom-UUID beacons.

oriefrati commented 9 years ago

Hi, If i provide array of UUID that i want to find, its doesn't fine anything, only the default UUID. if i provide single UUID its find only beacons with the specific UUID

so i have to set all of my beacons to specific UUID.

i want different UUID to each beacon (until secure UUID will be also in android), and i want to search beacons with the UUIDs that provide

TheMattRay commented 9 years ago

But all of your particular beacons SHOULD have the same UUID per design/spec. Just different major/minor values. No offense, but you are asking why your car doesn't self-drive yet; that's future release stuff. Feel me?

Matt Ray Author / Technophile

m: (317) 965-2201 e: themattray@gmail.com t: @TheMattRay w: mattray.info

On May 22, 2015, at 9:28 AM, Ori Efrati notifications@github.com wrote:

Hi, If i provide array of UUID that i want to find, its doesn't fine anything, only the default UUID. if i provide single UUID its find only beacons with the specific UUID

so i have to set all of my beacons to specific UUID.

i want different UUID to each beacon (until secure UUID will be also in android), and i want to search beacons with the UUIDs that provide

— Reply to this email directly or view it on GitHub.

TheMattRay commented 9 years ago

Thanks for the info!

Matt Ray Author / Technophile

m: (317) 965-2201 e: themattray@gmail.com t: @TheMattRay w: mattray.info

On May 22, 2015, at 8:53 AM, Piotr Krawiec notifications@github.com wrote:

Piotr from Estimote here, we make the SDK which is used by this plugin. I can confirm that on Android it won't pick up the virtual beacon, but will pick up physical estimotes just fine.

As for the default UUID—our Android SDK actually allows to pick up all the estimotes regardless of their UUID if you set it to null. iOS however doesn't allow that—you need to provide some UUID. Since PhoneGap in general is supposed to enable you to build hybrid apps, I can understand why the maintainers of this plugin decided to level to iOS:

https://github.com/evothings/phonegap-estimotebeacons/blob/master/plugin/src/android/EstimoteBeacons.java#L444

You can still provide a specific UUID to detect custom-UUID beacons.

— Reply to this email directly or view it on GitHub.

oriefrati commented 9 years ago

if all my beacons will be same UUID, every one can create app and also use my beacons. if i have 50 stores, i want different UUID for every store, and only 1 app for all the 50.

every one can create new app and use my beacons in my stores. when the secure uuid will be supported in android?

salilsethi commented 9 years ago

I have Estimote beacons and in Android the only beacons the plugin finds are the one with default estimote uuid.

If I change the uuid on beacons to my own uuid, the plugin doesn't see them. In ios this works perfectly. I can define my uuid put it as a region and the plugin finds them. Android it doesnt work

Any help will be appreciated

i2gor87 commented 7 years ago

@salilsethi Hello, I have the same problem and can't solve it for a week for now. Did you solve it?