To renew the OneSignal Push Certificate after it expires, follow these steps:
– Go to the OneSignal dashboard and select your app.
– Click on the “App Settings” tab.
– Under the “Apple Push Notification Service (APNS)” section, click on the “Renew Certificate” button.
– Follow the prompts to generate a new certificate signing request (CSR) in the Apple Developer Center.
– Once the certificate has been generated, download it and save it to your computer.
– Open the Keychain Access app on your Mac, and drag the downloaded certificate into the app.
– Double-click on the certificate and expand the “Trust” section.
– Change the “When using this certificate” option to “Always Trust.”
– Close the Keychain Access app and return to the OneSignal dashboard.
– Click on the “Upload Certificate” button and select the renewed certificate from your computer.
– Click “Save” to update the certificate within the app.
– Don’t forget to also update the WebViewGold wrapper part of your app from time to time, but this is not required in the same step as renewing OneSignal certificates in most cases.