iOS Push Notification Certificate Setup
Process to setup iOS push notification certificates to receive notification from Social PlusSDK / Social PlusUIKit.
To send or receive push notifications for iOS devices using our SDK, you can either
Create push notification certificate (.p12 certificate) from the Apple Developer Console OR
Create a push notification Key (.p8 certificate) from Apple Developer Console
and upload to our Social Plus console.

We recommend creating Apple Push Notification Key as it is more versatile. You can follow the steps outlined here to generate the APNS key (with .p8 file extension) https://developer.apple.com/documentation/usernotifications/establishing-a-token-based-connection-to-apns
If you do not support Apple Push Notification Key and want to use certificate based authentication for push notification (i.e .p12 file), here are the steps to generate a push notification certificate from the Apple Developer Console.
Step 1:
Go to Apple Developer Console (i.e. https://developer.apple.com) and click on Certificates.

Step 2:
Select Apple Push Notification Service SSL (Sandbox & Production)

Step 3:
Follow the rest of the steps of creating certificates as shown by Apple & download the .cer file.
Step 4:
Double-click on the .cer file you downloaded in the last step in Finder. After a few seconds, the Keychain Access program should open.
Step 5:
Select Login → My Certificates, then right-click on the Apple Push Services certificate that you just installed. It would show you some options as shown below.

Step 6:
Select the Export “Apple Push Services …” option and save the file using the .p12 extension. If you add a password while exporting, you will need to enter the same password in the Social Plus Console.
Step 7:
Open Social Plus Console. Select Settings → Push Notifications & Upload this .p12 file to Social Plus Console.

That’s it. Now the certificate is setup, Please follow the steps shown in the Register & Unregister Push Notifications section to correctly send APNS tokens to receive push notifications.
Last updated
Was this helpful?