Enable Push Notification for iOS app

Setup Push Notification in Apple Developer account

Introduction:

In order to enable Push Notification in iOS app, developer must have to enable push notification service for the app id/ bundle identifier (app identifier). In this tutorial we learn how to enable push notification service for the app id in  Apple Developer Account

Steps to enable push services for your iOS App in Apple Developer account:

Follow below steps to setup Push Notification in Apple Developer Account
Step 1: Log in to Apple Developer Account  and  click Certificates, identifiers and Profile.
Step 2: Select App IDs under identifiers tab and click on plus button.
Create New App ID
 Step 3: Name your App ID under App ID Description and Bundle ID under App ID Suffix as shown in the image.
Name App ID and Bundle ID
Step 4: Scroll down and check mark the checkbox against Push Notification under App Services.
Select Push Notification App service
Step 5: Press register and you are done with enabling push notification for your app id. Still we have to configure the SSL certificates. In next steps we will learn how to create SSL certificates.
Step 6: Select App IDs under identifiers tab and click on the App ID created by us in previous steps. In our case it is named as PushNotificationTutorial. Click on it and you will see detail services offered by the App ID. Click on Edit button at the bottom.
Services offered by App ID
Step 7: Navigate to the portion of page as shown in below image.
Create SSL certificates for Push Notification
Step 8: Follow Create Push certificates tutorial to create push certificates.

Where to Go From Here?

In this post we learn How to setup Push Notification service in Apple Developer account. After setting up push notification service for our App ID, it’s time to create .pem file so that your app can receive push from Apple push server.

https://iostutorialjunction.com/2016/11/How-to-create-or-generate-.pem-file-for-push-notification-Tutorial.html