Where can I find the API KEY for Firebase Cloud Messaging?

前端 未结 9 456
执念已碎
执念已碎 2020-11-28 23:04

I am trying to figure out how the new version of GCM or Firebase Cloud Messaging works so I moved one of my projects to the new Firebase console, If I did not have the API K

相关标签:
9条回答
  • 2020-11-28 23:26

    You can also get the API key in the android studio. Switch to Project view in android then find the google-services.json. Scroll down and you will find the api_key

    0 讨论(0)
  • 2020-11-28 23:27

    Please add new api key from Firebase -> Project Settings -> Cloud Messaging -> Legacy Server Key to the workspace file i.e google-services.json

    0 讨论(0)
  • 2020-11-28 23:28

    You can open the project in the firebase, then you should click on the project overview, then goto project settings you will see the web API Key there.

    0 讨论(0)
  • 2020-11-28 23:29

    It's in https://console.firebase.google.com/project/(your-project-id)/settings/cloudmessaging

    You can find the API KEY in:

    (gear-next-to-project-name) > Project Settings > Cloud Messaging

    Server Key is the API key.

    0 讨论(0)
  • 2020-11-28 23:29

    1.Create a Firebase project in the Firebase console, if you don't already have one. If you already have an existing Google project associated with your app, click Import Google Project. Otherwise, click Create New Project.

    2.Click settings and select Permissions.

    3.Select Service accounts from the menu on the left.

    4.Click Create service account.

    • Enter a name for your service account.
    • You can optionally customize the ID from the one automatically generated from the name.
    • Select Furnish a new private key and leave the Key type as JSON.
    • Leave Enable Google Apps Domain-wide Delegation unselected.
    • Click Create.

    This might be what you're looking for. This was in the tutorial on the site

    0 讨论(0)
  • 2020-11-28 23:31

    STEP 1: Go to Firebase Console

    STEP 2: Select your Project

    STEP 3: Click on Settings icon and select Project Settings

    STEP 4: Select CLOUD MESSAGING tab

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