Android - GCM server key is not working with Urban Airship

前端 未结 1 1093
梦毁少年i
梦毁少年i 2021-01-16 02:12

I am trying to integrate Urban Airship Push notification service in my android project.I have created a new project in google developer console and created a GCM server key.

相关标签:
1条回答
  • 2021-01-16 02:48

    Seems that Google is no longer authorizing the API Keys created by Google API Console. I had a similar issue with Amazon SNS, and managed to fix it by using the Firebase auto-generated server key.

    1 - Login into Google Firebase console, with the same credentials you used for Google API Console.
    2 - Create a new project (or import an existing one).
    3 - Click on the gear icon and select Project Settings

    4 - Select CLOUD MESSAGING tab.

    There you will see both the API Server Key and the Project number (which is needed in the application). This API Server key is the one you need to introduce in the Push Provider console (Urban Airship in your case).

    0 讨论(0)
提交回复
热议问题