Nearby Google Notification API not showing new notifications

This is my first post, so please excuse my mistakes.

I am trying to work with the "Nearby" notification. I added the beacon through the “beacon tools” and a notification was added from my toolbar. As you can see in the picture, new notifications are added below.

Next to dashboard_img message

So, in this case, “ Heading No. 3 ” is the last and the one that I see in the “Near” application when I am near the lighthouse.

Now that I have tried adding alerts for nearby alerts to my beacons through the Proximity API. I added a beacon to my project and I use

gapi.client.request 

to add an attachment to my beacon using the Proximity beacon API. Attachment URI:

https://proximitybeacon.googleapis.com/v1beta1/beacons/(BeaconName)/attachments

I format the attachment as such

  {
  "title": "Example",
  "url": "https://www.example.com"
}

When I added 3 notifications through this (one at a time, of course), they appear on my Google control panel for this beacon. But new ones stack up, not bottom down (as shown in the second figure)

Next to dashboard_img message

So, as you might have guessed, apparently only the first notification added through the "Next", i.e. " Title number 1 "

Am I missing something? How to create new notifications using the Proximity API?

PS: for this I use UID Eddystone.

+4
source share
1

, , Google . , :)

, , .

Google, !

+1

Source: https://habr.com/ru/post/1681039/


All Articles