What does the key id mean? Please help me, I don't know what to enter in there.
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.
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.
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+
[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).
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
Step 2
Step 3
Step 4
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:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With