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

Nearby notifications not working? #226

Open
justinbelobaba opened this issue Aug 16, 2017 · 19 comments
Open

Nearby notifications not working? #226

justinbelobaba opened this issue Aug 16, 2017 · 19 comments

Comments

@justinbelobaba
Copy link

Hi - I have deployed several thousand beacons using Google Nearby. We can see that the beacons are working, and they are showing up in the Nearby app. However, as of 2pm yesterday, none of them are generating Nearby notifications (on the Android notification pull-down screen). Is there something going on? Thanks!

@itsmeritesh
Copy link

Are you seeing notifications in debug mode? Can you share a beacon id ?

@justinbelobaba
Copy link
Author

Hi there - yes, we get nearby notifications properly in debug mode (on notification screen & in nearby app). But not in production (nearby app works, but notification screen does not show notification).

Example: 3!f7826da6bc5b71e0893e7149516b6449

This beacon worked properly in debug but not production.

@laccf
Copy link

laccf commented Sep 5, 2017

Hello, @justinbelobaba . Are you using UID or EID frame?

@justinbelobaba
Copy link
Author

justinbelobaba commented Sep 5, 2017

Hi @laccf - we are using UID.

@laccf
Copy link

laccf commented Sep 5, 2017

I get this issue when a beacon gets low and I have to change the battery, the Google Api can't resolve anymore the EID.

Does your app recognize this beacon? Did you try oauthplayground to see if your beacon is still registered? One of the problems that I had using nearby notification was about the compatibility of the language of the cellphone that receive the notification and the language that you set on the google console. It has to be the same.

@justinbelobaba
Copy link
Author

Thanks very much - will try!

@parab-aditya
Copy link

Hi @justinbelobaba ,
If you have deployed several thousand beacons and it works in debug, then probably you are getting limited by the API quota. You will need to contact Google to increase the API calls limit. Also like @laccf said, try making a call in oauthplayground and see if that works.

@laccf
Copy link

laccf commented Sep 6, 2017

If your quota has ended, you will get error 429.

@parab-aditya
Copy link

Yes thats correct.
Also, for some reason, it doesn't let me apply for higher quote. When I click the link, it opens a Google form link and says this
"You need permission
This form can only be viewed by users in the owner's organization.
Try contacting the owner of the form if you think this is a mistake."

Have any of you been able to apply for higher quote? I am using my personal gmail account. (not under an organization)

@justinbelobaba
Copy link
Author

@parab-aditya @laccf thank you both!

@laccf
Copy link

laccf commented Sep 6, 2017

@parab-aditya I updated my quota, but nothing relevant. Here there is a link that you can read a little about quotas.

@parab-aditya
Copy link

parab-aditya commented Sep 6, 2017

@laccf I tried updating, can't seem to get past that Google form "No permission" message. Tried asking Google Cloud about it, and they said to post on SO :/
(https://stackoverflow.com/questions/46082745/cannot-increase-google-proximity-api-quota)

@oirishred
Copy link

Justin I have some of your beacons and landed here looking to solve the same issue. What solution did you find?

@justinbelobaba
Copy link
Author

justinbelobaba commented Oct 14, 2017 via email

@oirishred
Copy link

oirishred commented Oct 15, 2017 via email

@justinbelobaba
Copy link
Author

justinbelobaba commented Oct 15, 2017 via email

@parab-aditya
Copy link

parab-aditya commented Oct 15, 2017 via email

@justinbelobaba
Copy link
Author

justinbelobaba commented Oct 16, 2017 via email

@parab-aditya
Copy link

That is really vague on Google's side. There should be some criterias to judge that, and if you have a couple of clients for your project, how do you control what messages they broadcast?
But the weird part this doesn't just happen to one beacon, rather the entire project. And in case you have a couple thousand deployed, you are pretty much done there

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

5 participants