Introduction
An APNs Auth Key lets your iOS BuddyBoss App send push notifications securely and at scale. This guide shows you how to create APNs Auth Key in Apple Developer and configure it in BuddyBoss App, ensuring a single reusable key works for both Test and Release builds with simplified management and secure notifications.
Tutorial Video
Generating Your APNs Auth Key
- Log in to Apple Developer and click Account.
- Select Certificates, Identifiers & Profiles.
- In the sidebar, click Keys.
- Hit the + button to create a new key.
- Enter a Key Name (e.g., “BuddyBoss APNs Key”).
- Under Key Services, check Apple Push Notifications service (APNs).
- Click Continue, then Register.
- Click Download to save the .p8 file—store it securely (you can re-download from this page).
Configuring BuddyBoss App with Your APNs Key
- In WordPress, go to BuddyBoss App > Settings > Integrations > iOS Push Notifications.
- Click Upload APNs Key.
- Select the downloaded .p8 file.
- Enter your Key ID (from Apple Developer) and Team ID (found under Apple Developer > Membership).
- Click Save Changes.
Testing Your APNs Key
- Request a Test Notification: In WP Admin, navigate to BuddyBoss App > Push Notifications and send a test alert.
- Verify Delivery: Confirm the notification appears on both your iOS Test and Release app installs.
Troubleshooting and FAQs
Q: I get an “Invalid key” error when uploading.
A: Double-check that you uploaded the .p8 file (not a certificate) and entered the correct Key ID and Team ID.
Q: My test device doesn’t receive notifications.
A: Ensure your app build is signed with a provisioning profile that enables Push Notifications and that the device is using the matching Bundle ID.
Q: Do I need separate keys per app build?
A: No. A single APNs Auth Key works for all iOS builds (Test or Release) under your Team ID.
Q: How often do I renew the key?
A: APNs Auth Keys do not expire. You only need to regenerate one if it’s compromised or deleted.