Skip to content

Setting Up Apple Push Notifications (APNs) for iOS/iPad

To enable push notifications for your iOS app, you must create an App Identifier and generate an APNs Authentication Key (.p8) in your Apple Developer account. This key allows Push0 to securely send push notifications to your application via Apple Push Notification service (APNs).

Requirements

⦁ Push0 account. If you did not create your Push0 account yet please head to Push0 registration
⦁ Computer with MacOS
⦁ Xcode 14+
⦁ Paid Apple Developer Account with Admin Role

Follow these steps:

1. Create an Apple app identifier

1 - Go to the Apple Developer Account and click Identifiers

Apple Developer Account Console

2 - Click the + button to the right of Identifiers

Apple Developer Account Console - add project

3 - Select App IDs and click Continue

Apple Developer Account Console - project setup

4 - Select App type and click Continue

Apple Developer Account Console - project setup

5 - Type your bundle id and description

Apple Developer Account Console - project setup

6 - Under Capabilities scroll to Push Notifications and select. Click Continue.

Apple Developer Account Console - project setup

7 - Success ✅ - Your app identifier is created.

Apple Developer Account Console - project setup

2. Generating p8 key

1 - Go to Keys. Click the + button to the right of Keys

Apple Developer Account Console - project setup

2 - Type your key name and select Apple Push Notifications service (APNs). Click Configure

Apple Developer Account Console - project setup

3 - Select key environment. Pick Sandbox & production! and click Save

Apple Developer Account Console - project setup

4 - Click Register

Apple Developer Account Console - project setup

5 - Download your key.
Copy your Key Id and Team Id (here starts with '47').
Click Done.

Warning

Keep your .p8 key safe. You wont be able to download it again!

Apple Developer Account Console - project setup

3. Push0 application configuration

1 - Go to the Push0 Account Log In and log in.

2 - Go to Apps and click on Create app button

Push0 Dashboard

3 - Type your app name and select app type iOS

Warning

Package name (bundle id) must be the same as the one typed in Apple Developer Identifier configuration.

Push0 Dashboard

4 - Paste your package name (bundle id), team id and key id.
Upload your p8 key file (from 2.5)

Push0 Dashboard

5 - Click create button and if everything was correct - your Push0 iOS application configuration is completed 🎉

Push0 Dashboard

4. Finished ✅

Go to iOS SDK integration or API Reference