WebToNative
  • Getting started
  • Plugin Setup
    • OneSignal Set Up
    • Google AdMob Setup
    • In App Purchase - iOS Setup
    • In App Purchase - Android Setup
    • Firebase Notification Integration - iOS Setup
  • Social Login Integrations
    • Getting the SHA Key for Google Login
    • Create Google OAuth Client Id
    • Facebook Login Configuration
  • Javascript APIS
    • Getting Started
    • Status Bar
    • Pull To Refresh
    • Close App
    • Device Info
    • Clear App Cache
    • OneSignal Push Notification
    • Download Files
    • Printing Options
    • AdMob
    • Geo Location
    • Load In External Browser
    • Barcode Scan
    • In App Purchase - iOS Integration
    • In App Purchase - Android Integration
    • Social Login
    • Facebook App Events
    • Bottom Navigation
    • Clipboard
    • Screen Control
    • Background Location
    • Native Contacts
    • iOS App Tracking Transparency
    • Google Firebase Analytics
    • Haptic Feedback
    • Google Firebase Notification
    • Apps Flyer
    • App Review
    • Calender - iOS
    • Calendar - Android
    • Biometric Authentication
    • Media Player
    • Notification View
    • Offer Card
    • Cookie Update
    • App Launch Detection
    • Download Manager
    • Dynamic App Icon
    • File Sharing
  • Website Plugins
    • Wordpress
      • Push notification (WooCommerce)
      • In-App Purchase
        • In-App Purchase (IAP) Configuration Guide for iOS and Android
        • In-App Purchase (WooCommerce)
        • In-App Purchase
      • Offercard
      • Biometric Authentication
      • Social Login
      • Webtonative media player
        • WebToNative Radio Player
        • MediaPlayer Native Control
    • Bubble.io
      • Customize Status Bar
      • Device-Based Element Visibility
      • Pull to Refresh (Android)
      • OneSignal Push Notification
        • Set External ID
        • Send Push Notification
        • Set/Remove Email or SMS Phone
        • Set Tag
      • Close App
      • Get Device Info
      • Clear App Cache (Android)
      • Screen Control
      • Facebook Events
        • Regular
        • Purchase
      • AdMob
      • Offercard
      • In-App Purchase
        • In-App Purchase (Android/iOS)
        • Get IAP Canceled Subscription List (iOS)
      • Social Login
      • Biometric Authentication
  • Shopify
    • Social Login
    • In-App Purchase
      • In-app purchase
    • Push Notification
      • Abandoned Cart
    • Status Bar Customization
    • Native Device Visibilty
    • Set Onesignal Tags
    • Pull to Refresh
    • Account Deletion
    • Biometric Authentication
  • Upload Apps
    • Android App
    • Ios App
Powered by GitBook
On this page

Was this helpful?

  1. Plugin Setup

Firebase Notification Integration - iOS Setup

Steps to create a firebase project and link it to the app created from webtonative.com

PreviousIn App Purchase - Android SetupNextGetting the SHA Key for Google Login

Last updated 1 year ago

Was this helpful?

Creating Project In Firebase

  1. Go to Firebase site and sign in with your Google account if you have not already https://firebase.google.com/

  2. Click on "Add project" and give it a name then continue

  3. Click on Continue

  4. Click on Default Account For Firebase or you can also create a new account. Then click on create project.

  5. You will see the “Continue” button once the project is created. Click on it and you'll be redirected to the firebase project dashboard

Add IOS App To Firebase Project

  1. Click on "iOS+" icon to add the ios app to your created firebase project.

  2. Fill in the Apple bundle Id and Click on "Register app" button

  3. Download the GoogleService-Info.plist, it will be used later.

  4. Then you can simply click on the Next button. You don’t need to worry about the code shown we've done that handling for you in the app. Then you can click on continue to the console.

  5. Now your dashboard will have the recently created ios app.

  6. Click on the settings for ios. Then we will configure a few things.

  7. You can manage all your apps for this project from here.

  8. Scroll down to the “Your apps” section and you'll be able to see all your apps added to this project.

  9. Since FCM uses APN to send notifications to Apple devices. We will need to upload the auth key (.p8) file generated from developer console to firebase. Go to this link:

  10. Click on plus icon and give key name and select the APNS option then click on continue.

  11. Now you will see Register button and simply click on it

  12. Now you’ll need to download this key by clicking on the Download button. Make sure you save the file and have a backup somewhere since you won’t be able to download again.

  13. Now we can go back to firebase project settings. You can add your team id also.

  14. After adding team id now we can upload our .p8 file to the cloud messaging section. Click on the Cloud Messaging tab and scroll down to apple app configuration.

  15. Click on Upload.

  16. Now you can upload your .p8 file either by dragging file to that section or Clicking on Browse button

  17. After Clicking on the key you generated for this firebase project you can see a screen something like this. You can see the Key Id simply copy it.

  18. Now you can paste your key id. Then click on upload button

  19. Now you will need to upload the GoogleService-info.plist file that we had downloaded earlier while creating the ios app. You can download again from the project's settings.Click on save and submit for app build.

Now to get the Key Id you’ll need to go back to the keys section.

https://developer.apple.com/account/resources/authkeys/list
https://developer.apple.com/account/resources/authkeys/list