I want to register my Flutter
app in Firebase
app check. When I try to register, it keeps asking me to upload the private key which should be in P8
format.
How do I get this private key? I have created an apple developer account, but I don't know how to proceed after that. Can someone please guide me?
Also how do I get the Key ID and the Team ID?
CodePudding user response:
FOLLOW THESE STEPS
- Login into your apple developer account.
- Click certificate.
- Click on keys.
- Enter key name. ( anything you like )
- Create key and check 'Apple Push Notifications service (APNs)'.
- Click 'Continue' and download certificate.
- Click on certificate listing and select that key name.
- Copy 'Key Id'.
- Top right corner is your 'Team Id'.
- The certificate you download before is your p8 certificate.
:)
CodePudding user response:
You can get it from apple developer account https://developer.apple.com/
Then Certificates,
Then Keys tabs
Create New Key and select Apple Push Notifications service (APNs)