Skip to content
This repository has been archived by the owner on Sep 7, 2022. It is now read-only.

NearBy Message API not working with iBeacon uploaded on beacon platform #42

Open
ashutosh-android opened this issue May 12, 2017 · 4 comments

Comments

@ashutosh-android
Copy link

ashutosh-android commented May 12, 2017

I have uploaded one iBeacon(Kontakt) in my Beacon Platform project . I used python sample to upload the same. I used below call for this
pb-cli --service-account-creds creds.json register-beacon --beacon-json '{"advertisedId":{"type":"IBEACON","id":""},"status":"ACTIVE"}' --no-ibeacon-props

Here Encoded Id is generated by encoding iBeacon UDID + Major(Hex) + Minor(Hex)

My iBeacon is uploaded successfully and I can see it in my Beacon Platform dashboard, however I am not able to receive messages in my app which is developed using NearBy samples.

Please note it's working perfectly fine for beacons using eddystone protocol (Kontakt again) which I uploaded using Beacon Tools mobile app. I am using NearBy Message sample for both Foreground and Background mode, and I am getting messages only for eddystone beacon , not for iBeacon.

Are any additional steps needed for iBeacon ?

@ashutosh-android
Copy link
Author

Any update on this issue ?

@ashutosh-android
Copy link
Author

Guys,

Any update on this ? Please let me know if I need to provide any more details on this.

Thanks,
Ashutosh

@pl1808
Copy link
Contributor

pl1808 commented Oct 25, 2017

Hey,

to use Nearby Messages you need to add some attachments to your beacon; the Android API fetches these attachments and delivers them as messages (not raw beacon IDs).

Take a look here: https://developers.google.com/beacons/proximity/attachments

HTH!
p

@ashutosh-android
Copy link
Author

Thanks for responding P.

Actually I am using attachments. Also everything works for me if I am using Beacon with Eddystone format, I am only seeing issue if I am using iBeacon instead.

Thanks,
Ashutosh

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants