无法在Google开发者控制台中为推送通知添加域名 [英] Can't add domain for push notifications in google developers console
问题描述
我在Google开发者控制台中创建了一个新的应用程序,我的应用程序使用Google Calendar API,并希望能够获取有关日历更改的推送通知。我在Web Master Tools中添加并验证了我的域,当我尝试在控制台的推送通知部分添加域时,出现错误:
错误
您无权访问以下域名:***
我试图用另一个应用程序(使用不同的谷歌帐户)来做到这一点,我遇到了同样的问题,看起来像谷歌有问题,因为它不是我第一次做它,它应该是非常简单的,有什么建议?
为了向推送通知添加域,您必须验证您的域在带有https://前缀的网站管理员工具中,否则将无法使用,因为Google中的推送通知仅适用于https://,这就是为什么您需要在网站站长工具中使用https:// 因此Google可以验证您是否拥有SSL。
I've created a new application in google developers console, my app is using the Google Calendar API and I want to be able to get push notifications on changes in the calendar. I've added and verified my domain in Web Master Tools, when I try to add the domain in the push notifications section in the console I get an error:
Error
You do not have access to the following domain: ***
I tried to do that with another application (with different google account), and I encounter the same problem, It seems like google are having a problem because it's not the first time I'm doing it and it should be pretty simple, any suggestions?
In order to add a domain to the "Push notifications" you must verify your domain in webmaster tools with a "https://" prefix, otherwise it won't work because push notifications in Google works only with "https://", that's why you need to verify it in webmaster tools with "https://" so Google can verify you have an SSL.
这篇关于无法在Google开发者控制台中为推送通知添加域名的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!