iOS Push notifications¶
This article provides a step-by-step guide on how to enable Voice (VOIP) push notifications through Firebase and the Apple Push Notification service (APNs).
To set up APNs, you will need several identifiers. This guide will walk you through the process of obtaining these identifiers.
Step 1: Obtain the APNs Authentication Key¶
The APNs Authentication Key is the critical component that enables your application to send push notifications. To generate this key, follow the steps below:
Visit the Apple Developer portal at https://developer.apple.com and log in with your credentials. Once logged in, navigate to the “Account” section, followed by “Certificates, Identifiers and Profiles” and finally “Keys”. Here, you can register a new key by clicking the + button. Make sure to enable “Apple Push Notifications service (APNs)“. Once the key has been generated, download it. This file will have a .p8 extension. Please note: Apple will only allow you to download this key once.
Step 2: Retrieve the Push Auth Key ID¶
The Push Auth Key ID is simply the ID of the push key you created in the previous step. It should resemble something like “8YEM28YL4K”. You can find this ID on the same page where you generated the APNs Authentication Key.
Step 3: Identify the Push Team ID¶
The Push Team ID is associated with your specific Apple Developer Account. To locate this ID:
Visit the Apple Developer portal and navigate to the “Account” section. From there, go to the “Membership” section. Your Push Team ID is listed here as “Team ID”. It should resemble a string like “RDS6Q75G65”.
Step 4: Find the App Bundle ID¶
The App Bundle ID is your unique application identifier. You would have chosen this identifier when first creating your app in Xcode or the Apple Developer portal. If you need to find it, check the settings or details page of your app on the portal or in Xcode. scenarios.
Step 5: Provide your app’s identifiers to Acrobits¶
Provide your APNs Authentication Key, Push Auth Key ID, Push Team ID and App Bundle ID to an Acrobits representative.
Once we receive the Server Key, we will guide you on the necessary configuration steps to integrate push notifications into your Acrobits Softphone SDK application.