- Login to your Apple Developer account at (https://developer.apple.com/membercenter/)
- Select Certificates, IDs and Profiles
- Click the Certificates button to create a new certificate.
- Select Website Push ID Certificate and click Continue.
- 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.
- Follow the step-by-step instructions to generate and download the certificate.
- Open the certificate, which will show them in the Keychain Access application.
- Select the certificate and expand it to see the key below it.
- Hold ⌘Cmd to select both the certificate and key, and export them using File > Export Items..., choosing the (.p12) format.
- In Xtremepush, Settings > Channel Settings > Push Settings and select the matching website.
- Enter the Website Push ID noted earlier, upload the certificate
- Icons are displayed in your push messages. Upload PNG images at 64x64 px for the small icon and 256x256 px for the large icon.
- Press Save.
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 7 months ago