Natively Docs
Join our community πŸ”₯
  • πŸ‘©β€πŸš€Getting Started
    • What is Natively?
    • Why Natively?
    • FAQ
    • Create Your First App
  • πŸš€Natively Platform
    • πŸš‰Releases
    • πŸ–ŒοΈAppearance
      • 😼App Icon
      • πŸ“±Loading Screen
      • πŸ“±Error Screen
      • 🎨Style
    • 🎬Preview
    • ⭐Features
      • πŸ›³οΈBottom Bar
      • πŸš‡Deeplinks
        • πŸ”₯Firebase
        • πŸ”—Universal Links
        • 🌱Branch.io
      • πŸ“Geolocation
      • πŸ””Notifications
        • πŸ“²OneSignal Notifications
        • πŸ”₯Firebase Notifications (Advanced)
      • πŸ“’Contacts
      • πŸ‘©β€πŸŽ¨Social Auth
        • 🍏Sign In with Apple
      • πŸ’ŸHealthKit
      • πŸ’°Purchases
      • πŸ€‘Admob
      • πŸ’³NFC
      • πŸ“·Camera
      • πŸ“‚Photo Library
      • 🎀Microphone
      • πŸ“ˆAnalytics
        • πŸ•ŠοΈAppsFlyer
        • πŸ˜›Facebook
    • 🚚Publish
      • 🍏iOS App
      • πŸ€–Android App
    • βš™οΈSettings
    • πŸ™ˆSubscription Plans
  • Guides
    • πŸ§‹Integration (Native Features)
      • πŸ…How to get started?
      • ℹ️Device
      • ℹ️Browser Info
      • πŸ›³οΈBottom Bar
      • βœ‚οΈClipboard
      • 🚦Push Notifications - OneSignal
      • 🚦Push Notifications - Firebase (Advanced)
      • πŸ“Geolocation
      • πŸ“¦App Storage
      • πŸ—οΈBiometrics & Credentials
      • πŸ“§Native SMS/Email
      • πŸ“…Native Date Picker
      • πŸ“ΈNative Camera
      • πŸŽ™οΈNative Audio Recorder
      • 🈁Native Scanner (QR/Barcode)
      • πŸ“”Contacts
      • 🍏Apple Sign In
      • ❀️HealthKit
      • πŸ’ΈIn-App Purchases
      • πŸ€‘Admob
      • πŸ’³NFC
      • πŸ₯‘Show Toast/Banner
      • ⏳Show/Hide Loading Screen
      • πŸ₯‘Haptic Feedback
      • πŸ–ΌοΈShare Media/Files
      • πŸ“±Open an external App/URL
      • ✍️Request User's review
      • ↔️getInsets
      • 🎨Control Style & Colors
    • πŸ”Troubleshooting
    • 🐈Setup RevenueCat App
    • πŸš‘Setup Admob App
    • πŸš₯Setup One Signal App
    • πŸ§‘β€πŸ€β€πŸ§‘Setup website Universal Links (Deeplinks)
    • πŸ•Testing & Submitting your app
    • πŸ”‘Generate iOS Push Key (NEW)
    • πŸ”‘Generate iOS Push Certificate (Legacy)
    • 🀝Affiliate program
    • πŸ“•For Partners: Natively Brand Book.
Powered by GitBook
On this page
  • Prerequisites
  • Generate Push Key
  • Step 2. Generate a new p8 key
  • Gather all required data

Was this helpful?

  1. Guides

Generate iOS Push Key (NEW)

Generating an iOS Push Key for your native mobile app is crucial for enabling push notifications, simplifying management, ensuring longer validity, easing setup, maintaining security and compatibility

PreviousTesting & Submitting your appNextGenerate iOS Push Certificate (Legacy)

Last updated 5 months ago

Was this helpful?

Prerequisites

  • Created &

Generate Push Key

Step 2. Generate a new p8 key

Log in to your and navigate to Certificates, Identifiers & Profiles > Keys and select the Blue + button.

Apple Developer Account - Keys Page

Select Apple Push Notifications service (APNs), and enter a name for the key.

Select Continue, and on the next page, select Register.

Download your new key and save it in a secure place. You can only download it once, so don't lose it. Then, click Done, and you will have a new key.

🚧

Previous Token Revokation

You can have up to two .p8 keys in your Apple account. If you need to generate a third key, you will need to revoke one of your existing keys and it can no longer be used.

Note: .p8 keys are in the β€œkeys” section of the Apple developer account and the .p12 certificates are under β€œcertificates”. In your Apple account, you can only have two .p8 keys, but you can have both active .p12s and .p8s.

Gather all required data

  1. Now you have .p8 downloaded

  2. Also you will need Key ID and Team ID

  1. Get your Bundle ID

Apple Developer Account - Register a New Key Page. Select APNs.

Now you have all the data to continue configuring your

πŸ”‘
One Signal App
Paid Apple Developer Account
2616
2622
Bundle Identifier
AppStore App Id