Firebase SDK

Complete setup

To add Firebase to your Android project you need to follow complete setup on this link.

Step By Step

  1. Go to https://console.firebase.google.com/u/0/

  1. Click create project, enter project name, enable/disable analytics (optional) and click create project.

  1. When your project is ready click continue button.

  1. When project opens choose android option.

    Options


  1. Enter package name and click register app.

    Register app


  1. Download google service json file and place it in app directory.

    Download JSON


  1. Follow instructions and add firebase sdk in your project.

  1. Open project settings.

    Overview


  1. Generate private key.

    • Settings -> Service Account

    • Click Generate New Private Key, then confirm by clicking Generate Key

    • Securely store the JSON file

      Generate private key


  1. Add JSON file to Ocamba platform.

  1. Choose project and enable API (if enabled skip this step).

    Link

    Enable fcm

On This Page