Set up Firebase push notifications after iOS App transfer

Milan Panchal
Mac O’Clock
Published in
3 min readMar 16, 2020

In this article, we’ll learn how to setup Firebase push notifications after the successful app transfer from one account to another account.

If you don’t know how to transfer the iOS app, I’ll recommend you to check out my previous article on “How to transfer the iOS app from one account to other”

As you already know after the app transfer Bundle ID will remain the same. But to receive push notifications we have to update the APNS Auth key into a Firebase account. To do that make sure you follow these steps:

Step 1: Create APNS Auth Key (If not created previously)

Step 1.1 | Go to Certificates, Identifiers & Profiles
  • After that click on Keys option from the left side menu and press “+” button to Register a New Key
Step 1.2 | Register a New Key
  • Enter the name of the key and select Apple Push Notifications service (APNs) service from the list of services and press continue.
Step 1.3 | Register a New Key for APNS Service
  • Confirm the action by clicking the Register button and download the key

Note: Please make sure you should keep the copy of newly generated APNS Auth Key into a safe place as it only allows once to download the key.

Step 1.4 | Register a New Key — Confirm

Step 2: Update APNS Key into Firebase

  • Log in to Firebase console and select the project from the list.
Step 2.1 | Select Firebase Project
  • Go to the Project Settings by clicking the small gear icon (⚙)
  • Next, click on Cloud Messaging and upload the APNs Authentication Key under the iOS app configuration section
  • Finally, update the Team ID under
    Project Settings > General > iOS Apps > Team ID
Step 2.4 | Update Team ID

Note:
You can find your Team ID in the Membership tab of Apple Developer

That’s it. At this stage, we have successfully updated our firebase APNS Auth key. Now you can test the application for push notifications.

Do you have any questions? Please feel free to reach out to me and I’ll be happy to help!

--

--

Milan Panchal
Mac O’Clock

iOS Team Lead ǁ Swift ǁ Objective-C ǁ Lifelong Learner ǁ Blogger — Join Medium from the following link: https://medium.com/@milanpanchal24/membership