简体   繁体   English

Google Api密钥在Pushwoosh中无效

[英]Google Api key invalid in pushwoosh

Am developing html5 based mobile app using IONIC framework. 我正在使用IONIC框架开发基于html5的移动应用程序。 When I send the push notification am getting an error of api key invalid, I have created my api key using my local ip address (192.168.1.75) in google developer console. 当我发送推送通知时,出现API密钥无效的错误,我已经在Google开发人员控制台中使用本地IP地址(192.168.1.75)创建了api密钥。 Is am missing any thing. 正在丢失任何东西。 Is this is the way to create the api key. 这是创建api密钥的方法。

This is the error message am getting after sending push notification in pushwoosh 这是在pushwoosh中发送推送通知后收到的错误消息

这是错误消息越来越pushwoosh

Below image is how I have created the api key in google console. 下图是我如何在Google控制台中创建api密钥。

在此处输入图片说明

I was experiencing the same behavior but now is working. 我曾经遇到过相同的行为,但现在正在工作。

Try this: On your Google Console - Server Key - Click on "Edit Allowed IPs" and remove your local ip address, left blank. 尝试以下操作:在您的Google控制台上-服务器密钥-单击“编辑允许的IP”并删除您的本地IP地址,留空。

Back to PushWoosh panel > application > configuration > android - and replace the key with the Google Server Key. 返回PushWoosh面板>应用程序>配置> android-并将密钥替换为Google服务器密钥。

I hope this help. 希望对您有所帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM