Not able to get beacon attachment data using Nearb

2019-08-18 11:32发布

问题:

I am new to beacons and I'm having some troubles with Google Nearby Message API. I did as it was said on their page (https://developers.google.com/nearby/messages/android/get-beacon-messages) but it doesn't get any attachments from the beacons.

It connects to the Google API client, it successfully subscribes but it never gets to "onFound" or "onLost". I am able to successfully register the beacon and sea it in "Beacon Tools" app.