How to find Sender ID and Server key (iOS applications)

Step 1. Go to firebase console and create a new application.

Go To Console

New Project

Step 2. Add a new iOS program.

Settings

Step 3. Enter your bundle ID. This link helps you ton find bundle id of your application.

Settings

Step 4. Download GoogleService-info.plist file.

Settings

Step 5. Add GoogleService-info.plist to your XCode project.

Settings

Settings

Step 6. Click on the Next button.

Settings

Click on the Next button.

Settings

Cick on the skip this step.

Settings

Step 7. Look at Cloud messaging tab.

Settings

Step 8. Upload APNs authentication key.

Settings

Settings

Step 9. Save the two values listed:

  • Server key
  • Sender ID

Settings