Back to articles
Using .p12 Certificates for APNs Authorization in FCM Flutter Integration

Using .p12 Certificates for APNs Authorization in FCM Flutter Integration

via Dev.toDolapo Olakanmi

Okay, I know using .p12 for APNs authentication is not recommended but hear me out. You might just need it which was the case for me. So, why not? Ideally, you should use .p8 — recommended by Apple—for anything APNs Authorization on whatever push notification platforms you are using. To send push notifications to iOS apps, an authenticated connection to Apple Push Notifications services (APNs) is required. You can authenticate using a .p8 key which is token-based key or a .p12 file which is certificate-based method but one is required. If for some reason you don’t have a .p8 auth key and can not revoke for whatever reason, you can use the .p12 file which needs to be renewed yearly. We will see how to create this file for a project. Recommended: It is recommended to use .p8 auth key if you can please use that. To do this, make sure you have the following: An iOS mobile app A paid Apple Developer Account with admin Access. An FCM account with owner role A Mac with Xcode 14+ A Bundle ID f

Continue reading on Dev.to

Opens in a new tab

Read Full Article
3 views

Related Articles