Region monitoring on UUID/Major/Minor rather than payload key/value

Hi,
Since the old android SDK is now deprecated, using the new SDK 0.4.1, is there a way to keep using UUIDs/Major/Minor for monitoring rather than relying on beacons attachments payload key/values, something like zoneBuilder().forRegion(uuid, major, minor)?

Thanks!

-S

You can set an attachment like this:

uuid:major:minor = B9407F30-F5F8-466E-AFF9-25556B57FE6D:123:123

and define your zone as:

zoneBuilder()
.forAttachmentKeyAndValue(
        "uuid:major:minor", 
        String.format("%s:%d:%d", uuid, major, minor))

We even have a Python script that can create attachments like that for you from your existing UUID/major/minor values:

https://github.com/Estimote/Android-Proximity-SDK/tree/master/tools/migration_from_ibeacon_and_tags_to_attachments

1 Like

That is exactly what I am looking for. I will give this a try. Thanks Piotr. :slight_smile: