IT박스

Firebase Cloud Messaging 용 API KEY는 어디에서 찾을 수 있습니까?

itboxs 2020. 7. 8. 08:07
반응형

Firebase Cloud Messaging 용 API KEY는 어디에서 찾을 수 있습니까?


새 버전의 GCM 또는 Firebase Cloud Messaging의 작동 방식을 파악하려고 노력하고 있으므로 API 키가 없거나 새 버전을 만들려면 프로젝트 중 하나를 새 Firebase 콘솔로 옮겼습니다. 내가 할 수 있습니까?


https://console.firebase.google.com/project/(your-project-id)/settings/cloudmessaging있습니다.

API KEY는 다음에서 찾을 수 있습니다.

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

서버 키는 API 키입니다.


1 단계 : Firebase 콘솔로 이동

2 단계 : 프로젝트 선택

3 단계 : 설정 아이콘을 클릭하고 프로젝트 설정을 선택하십시오.

프로젝트 설정 선택

4 단계 : 클라우드 메시지선택

여기에 이미지 설명을 입력하십시오


여기에 입력하십시오 :

https : //console.firebase.google.com/project/ your-project-name / overview

(replace your-project with your project-name) and click in "Add firebase in your web app"(the red circle icon) this action show you a dialog with:

  • apiKey
  • authDomain
  • databaseURL
  • storageBucket
  • messagingSenderId

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.

이것은 당신이 찾고있는 것일 수 있습니다. 이것은 사이트의 자습서에있었습니다


Firebase -> Project Settings -> Cloud Messaging -> Legacy Server Key작업 공간 파일 에 새 API 키를 추가하십시오.google-services.json

참고 URL : https://stackoverflow.com/questions/37337512/where-can-i-find-the-api-key-for-firebase-cloud-messaging

반응형