Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

firebase asking for key id when activating for iOS app

enter image description here

What does the key id mean? Please help me, I don't know what to enter in there.

like image 702
davie Avatar asked Jul 05 '17 12:07

davie


People also ask

How do I get Firebase authentication key?

To authenticate a service account and authorize it to access Firebase services, you must generate a private key file in JSON format. To generate a private key file for your service account: In the Firebase console, open Settings > Service Accounts. Click Generate New Private Key, then confirm by clicking Generate Key.

What is key in Firebase?

An API key is a unique string that's used to route requests to your Firebase project when interacting with Firebase and Google services. This page describes basic information about API keys as well as best practices for using and managing API keys with Firebase apps.

What is Apple key ID?

A string that identifies the key used to generate the signature. iOS 12.2+ iPadOS 12.2+ macOS 10.14.4+ Mac Catalyst 13.1+ tvOS 12.2+ watchOS 6.2+

How do I create an iOS APNs auth key?

[1] To begin, visit the Apple Developer Member Center and log in with your credentials. [2] Click Certificates, Identifiers & Profiles. [3] Click Keys then the “+” button in the top right corner to create a new key. [4] Enter a descriptive name for your APNS Auth Key, then select Apple Push Notification Service (APNs).


Video Answer


2 Answers

If you want Push notification using FCM- Firebase Cloud messaging you need to provide either key or .p12 file. You can create in your developer account.Visit this link.

Also, its not compulsory if you are using firebase as a only database purpose. If you want push notification or cloud message then you need to provide this certificate or key things.

In your developer account you have to follow below steps

Step 1

enter image description here

Step 2

enter image description here

Step 3

enter image description here

Step 4

enter image description here

like image 159
Ravi B Avatar answered Oct 21 '22 20:10

Ravi B


In your apple account go to Certificates, Identifiers & Profiles section.You can see Keys section in left side category.

Click Keys->All, Now you can see list of keys.

Click your key which you created for firebase APNS auth key.it will show prompt it shows Key ID:

enter image description here

like image 25
Dharma Avatar answered Oct 21 '22 20:10

Dharma