DigitalHR (Flutter)
  • Welcome
  • Flutter Setup
    • Installing Android Studio
    • Installing Flutter SDK
    • Import Project
    • Updating local.properties file
    • Configuring Firebase
    • Change Application Package Name
    • Change App Name
    • Server URL
    • App Logo
    • Change App Colors
    • Strings
    • Image Assets
    • App Font
  • Notification Sound
  • Publishing the App
    • Build and release android app
    • Build and release an iOS app
  • Admin Panel
    • Requirements
    • Database setup
    • Import and deploy
    • Change Time Zone
    • Setup cron job
    • Setup Firebase
  • Rate and support
  • Change Log
    • Version 8.0 Backend
    • Version 7.0 Flutter
  • Migrate from older version
    • Backend Migration
      • Roles and Permission
      • Version 10.0 to 11.0
    • Flutter Migration
      • Version 7.0 to 8.0
  • FAQ
Powered by GitBook
On this page
  1. Admin Panel

Setup Firebase

PreviousSetup cron jobNextRate and support

Last updated 8 months ago

You need an additional json file for push notification to work. Please follow the following steps to activate the push notification service.

  1. Login to your firebase console

  2. Click on project setting and then Service accounts

  1. Click on Node.js

  2. Click on Generate New private key

  3. Once you click this button a json file will be downloaded to your local computer

  1. Find the downloaded file and rename it to "firebase-adminsdk.json". Please remember that renaming this file is very important.

  2. Now open your cPanel

  3. Navigate to the folder where you have installed our script, Find the folder named "storage" and upload the file to this folder.

  4. That's it.