Apple push notifications for Safari

Configure push notifications within Xtremepush and your website

Get Apple certificates

  1. Login to your Apple Developer account at (https://developer.apple.com/membercenter/)
  2. Select Certificates, IDs and Profiles
  3. Click the Certificates :heavy-plus-sign: button to create a new certificate.
  1. Select Website Push ID Certificate and click Continue.
  1. Pick the relevant website ID, or if you have none you will be prompted to add one. Make a note of the selected ID and click Continue.
  2. Follow the step-by-step instructions to generate and download the certificate.
  1. Open the certificate, which will show them in the Keychain Access application.
  2. Select the certificate and expand it to see the key below it.
  3. Hold ⌘Cmd to select both the certificate and key, and export them using File > Export Items..., choosing the (.p12) format.

Configure Xtremepush

  1. In Xtremepush, Settings > Channel Settings > Push Settings and select the matching website.
  2. Enter the Website Push ID noted earlier, upload the certificate
  3. Icons are displayed in your push messages. Upload PNG images at 64x64 px for the small icon and 256x256 px for the large icon.
  4. Press Save.

Add to website

🚧

User gesture required

With the release of Safari 12.1 the browser web push opt-in prompt cannot be served to users without a user gesture. This means that you will need to implement a custom value exchange to trigger the opt-in for Safari 12.1+ users. See instructions in the guide for Prompt to subscribe.

Updated 6 months ago



Apple push notifications for Safari


Configure push notifications within Xtremepush and your website

Suggested Edits are limited on API Reference Pages

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