I'm trying to configure an app to use Push Notifications using Firebase. From the firebase console, the recommended method to configure an ios app is to use a p8 certificate (APNs key).
I can create the p8 key from apple developer console, then upload it to Firebase for my app.
What seems to be missing is the part where I authorize my app to use Push Notifications. From the apple console, the only option is to create development and production certificates, which are completely unrelated to the p8 key.
How can I authorize push in my app using p8 key?
Without a doubt the P8 is the best way to go.
Apple insist that developers should use "Token Based Authentication" instead of the traditional P12 for push notification.
You should authorize your App, regardless, this a very easy and straightforward process. Both by activating the console switch and Enable the Push Notifications Capability on Xcode, I quote Apple:
And remember to match the certificates scope, classic mistake: Production = Production, etc.
Should you need any further assistance please reply or comment.