I have an APNS certificate that is set to expire in Jan 2017 on a live application. I have renewed the certificate and created my .cer
and .p12
files.
I am using Firebase Cloud Messaging to handle my push notifications. If I add the new .p12
file to the firebase console now, will that overwrite the current one and break push notifications on the live app?
If so how do I manage a seamless transition to the new certificates? Do I just wait until the new app is live in the app store and then upload the .p12
?
Thanks,
APN certificate(s) downloaded from Apple only have one year validity from the date it was created. Ensure that the managed iOS devices do not have to be re-enrolled into TMMS for Enterprise when an APN certificate expires after a year.
You cannot renew your certificate if it has already expired, you don't have the password for the Apple ID that's associated with the certificate, or you use a different Apple ID. Instead, you must set up a new certificate. For details, see Set up an Apple push certificate.
Firebase Cloud Messaging (FCM) It's easy to fire push notifications from the server to FCM, and it handles the rest for iOS, Android, and the Web.
Upload your APNs authentication key Inside your project in the Firebase console, select the gear icon, select Project Settings, and then select the Cloud Messaging tab. In APNs authentication key under iOS app configuration, click the Upload button.
If the New push certificate created for the same AppID and contains the bundle ID of the existing app and push certificate is only used in firebase no where else then the old versions of your app should continue receiving push notifications using the new certificate , regardless of which certificate you use
Whenever you update your APNS certificate all version of the app that had push notification will receive the notifications again. There is no need to update the app for this.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With