Login

Learning & Support

Documentation

iOS: Setup key-based authentication

Twixl Support Team Updated: - Created :

    1. Setup your App ID in the Apple Portal

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

    1. Login to your Apple Developer Account on https://developer.apple.com , then in the section Certificates, Identifiers & Profiles, select Identifiers > App ID
    2. If you want to edit an existing App ID, select Configure, otherwise select '+' to add a new App 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 your App ID

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

    3. How to create the authentication key (p8)

    1. In the Apple dev portal, go to Certificates, Identifiers & Profiles, then select 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