Login

Learning & Support

Documentation

iOS: Setup key-based authentication in the Apple Developer Portal

Twixl Support Team Updated: - Created :

    1. Setup your App ID

    To enable Push Notifications in your iOS app, you need to configure the App ID properly.

    1. Navigate to (developer.apple.com > Account > Certificates, Identifiers & Profiles > Identifiers > App ID)
    2. If you want to edit an existing App ID, select Configure, otherwise select New Apple ID
    3. After you entered a description for this App ID and the Bundle Identifier (make sure to use the same reverse-DNS name as in the Twixl platform) you can configure it.

    2. Activate Push Notifications for the App ID

    1. When in the App ID detail window, you'll notice a list of all App Services.
    2. Enable Push Notifications.
    3. Click 'Done'.

    WARNING:

    For key-based authentication, there is no need to create a Development or Production SSL Certificate

    3. How to create the authentication key

    1. Navigate to https://developer.apple.com/account/ios/authkey/ (developer.apple.com > Account > Certificates, Identifiers & Profiles > Keys)
    2. Click + to add a new key.
    3. Give the key a name
    4. Enable the service called Apple Push Notifications (APNs).
    5. Click Continue. You will then be asked to confirm your key configuration.
    6. Click on Confirm to create the key.
    7. Select Download in the next screen to download the .p8 file to your local machine.
    8. Write down the value for Key ID.
    9. Then, navigate to https://developer.apple.com/account and click on Membership in the left column, and write down the Team ID.
    10. You are now ready to go ahead and configure push notifications on Firebase, as described here.

    Was this article helpful?

    2 out of 2 found this helpful