Skip to content

Safari configuration

Registering with Apple

1. Go to Certificates, Identifiers & Profiles section of Apple Developer Portal.

2. Add new certificate.

3. Choose Website Push ID Certificate type and click Continue.

4. Select the Website Push ID - your unique reverse-domain string, such as web.com.example.domain (must start with web.).

5. Upload a Certificate Signing Request. To learn more on creating Certificate Signing Requests, please refer to the Developer Account Help article.

6. Afterwards, download the push notification certificate.

Configuring the Safari platform in your Pushwoosh project

1. In your Pushwoosh project, go to the Configure Platforms section and click Configure in the Safari row:

2. In the form that opens, add the following information:

  • Website Name: name of your website that will be displayed in the notification title.
  • Allowed domains: an array of websites allowed to request permission from user, one domain per line.
  • URL Template: target URL to go to when the notification is clicked. Use %@ as a placeholder for arguments you fill in when delivering your notification. This URL spelling must contain http or https; otherwise, it is invalid.
    Example: https://yourwebsite.com/%@
  • Website Icon: upload your website icon to Pushwoosh. The icon must be 256×256 pixels. Pushwoosh will automatically resize it for all other UIs.
  • Key file: upload the .p12 certificate file that you downloaded in step 1.6.
  • Private key password: input the certificate password.

Pushwoosh will automatically generate the push package with the icon set, website JSON dictionary, and the manifest file that Safari requests from the server. You can download it whenever you need.