Adapty Developer Hub

Welcome to the AdaptyTeam developer hub. You'll find comprehensive guides and documentation to help you start working with Adapty as quickly as possible, as well as support if you get stuck. Let's jump right in!

Get Started    Discussions

Push Notifications

Learn how to configure iOS push notifications

If you want to use promo campaigns, you will need to generate a certificate for sending push notifications. It takes several steps to generate and may take about 15 minutes.

Create a signing certificate

Open Keychain Access and on the upper menu choose Keychain Access > Certificate Assistant -> Request a Certificate From a Certificate Authority.

Choose Request a Certificate From a Certificate AuthorityChoose Request a Certificate From a Certificate Authority

Enter your email and name and save the certificate to a disk. It'll be named like CertificateSigningRequest.certSigningRequest.

👍

Create a folder to save all files in one place. For example, name it Adapty Push Certificates

Enter email, choose save to diskEnter email, choose save to disk

Create an Identity and Apple Certificate

Open Apple Developer and then Certificates > Identifiers.

IdentifiersIdentifiers

Choose your identifier, activate Push Notifications, and hit Save.

Activating Push NotificationsActivating Push Notifications

🚧

Do not configure/edit Push Notifications settings on the page above. It's legacy stuff. The method below allows you to create a certificate much easier.

Go to Certificates section and start new certificate generation

Creating a new certificateCreating a new certificate

Scroll down and select Apple Push Notification service SSL (Sandbox & Production)

Choose your Identifier and upload a certificated generated on your Mac earlier

And download a certificate as aps.cer file.

Open the aps.cer file in the Keychain and export in as a p12 file.

Export certificate as p12 fileExport certificate as p12 file

Please be sure that you choose Certificate category! Otherwise you can't export it a p12 file. Yeap, that's super weird.

The last thing, convert your p12 file to a plain text. Open terminal and enter a command

openssl pkcs12 -in cert.p12 -nodes > open_cert.p12

change cert.p12 to your file name.

And the last, upload a certificate to Adapty.

Upload p12 certificateUpload p12 certificate

Updated about a month ago


Push Notifications


Learn how to configure iOS push notifications

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.