Create all the needed iOS certificates
To send push notifications to iOS devices you need following certificates:
-
Apple iOS App Development Certificate
-
Apple iOS App Development Provisioning Profile
-
Apple Push Notification Key
Creating Apple iOS App Developer Certificate
Login with Apple developer account on: http://developer.apple.com
If you don´t have an account yet use your icloud
Click on Certificates – create a certificate
Choose iOS App Development
Next step is to create an Certificate Signing Request. For that you´ll need a mac.
-
Launch Keychain Access located in "/Applications/Utilities"
-
Choose Keychain Access → Certificate Assistant → Request a Certificate from a Certificate Authority.
-
In the Certificate Assistant dialog, enter an email address in the User Email Address field.
-
In the Common Name field, enter a name for the key.
-
Leave the CA Email Address field empty.
-
Choose Saved to disk, and click Continue.
Upload it to your developer account
Download your Certificate This Certificate can be used for Phonegap Build Service.
Create Apple iOS App Development Provisioning Profile
Click on Profiles + to create a new profile
Choose iOS App Development
Now select your App. If you don´t have an app registered, click on Create App ID. Otherwise select yours.
When registering your App don´t forget to activate Push Notification capability.
Select your registered App.
Now select your Apple iOS App Development Provisioning Certificate.
At last select your devices you want this mobile client to run on.
Download your Apple iOS App Development Provisioning Profile.
Get Apple Push Notification Key
Click on Keys to create a new one.
Select Apple Push Notification Service (APNs).
Download your Key.
Now you got all you need for receiving Push Notifications on iOS. Go on with the Firebase Configuration.