Menu adicional

Obtenha o MemberPress hoje mesmo! Comece a ser pago pelo conteúdo que você cria! Obtenha o MemberPress agora
  1. Início
  2. Base de conhecimento
  3. MemberPress App
  4. Done for You
  5. Creating APNs Auth Key for MemberPress iOS App

Creating APNs Auth Key for MemberPress iOS App

An APNs (Apple Push Notification service) Auth Key enables iOS app push notification delivery securely and at scale. A single reusable .p8 key simplifies renewal management and supports both Test and Release builds. This guide explains how to generate an APN Auth key in Apple Developer and configure the MemberPress App to use it.

Understanding APNs Auth Key

APNs Auth Key provides authentication for push notification delivery to iOS devices.

Single key reusability eliminates multiple certificate management requirements. One APN's key supports all app variants and environments simultaneously.

Security enhancement uses token-based authentication instead of certificate-based methods. Token-based authentication provides improved security while simplifying key management.

Renewal simplification removes annual certificate renewal requirements. APNs' keys remain valid indefinitely unless manually revoked.

Universal support enables push notifications for Test and Release builds. Single key configuration works across all app build types.

Scalable delivery handles high-volume notification distribution efficiently. APNs' key authentication scales with notification demand.

Generating APNs Auth Key

APNs key generation creates authentication credentials for the push notification service in the Apple Developer account.

  1. Log in to Apple Developer at developer.apple.com e clique em Conta.
  2. Selecione Certificates, Identifiers & Profiles from the account menu.
  3. In the sidebar, click Chaves.
  4. Clique no botão + button to create a new key.
  5. Enter a descriptive name in the Key Name campo.
  6. Abaixo de Key Services, verifique Apple Push Notifications service (APNs).
  7. Clique em Continuar to proceed to registration.
  8. Clique em Registro to create the APNs key.
  9. Clique em Baixar to save the .p8 file and store it securely.

Note: Save the Key ID displayed next to your new key. You will need both the .p8 file and the Key ID in the next step.

Configuring MemberPress App with APNs Key

APNs' key configuration enables push notification functionality by uploading authentication credentials to WordPress.

  1. No WordPress, vá para Dashboard > MemberPress App > Settings > Integrations > iOS Push Notifications.
  2. Clique em Upload APNs Key.
  3. Select the downloaded .p8 file.
  4. Enter your Key ID from Apple Developer and Team ID found under Apple Developer > Membership.
  5. Clique em Salvar alterações.

Observação: Ensure your Bundle ID matches the one registered in Apple Developer.

Testing APNs Key

APNs' key testing verifies proper push notification delivery configuration and functionality.

  1. Request a Test Notification in WP Admin by navigating to Dashboard > MemberPress App > Push Notifications and send a test alert.
  2. Verify Delivery by confirming the notification appears on both your iOS Test and Release app installs.
Este artigo foi útil?

Artigos relacionados

garota do computador

Obtenha o MemberPress hoje mesmo!

Comece a ser pago pelo conteúdo que você cria.