Skip to content
This repository has been archived by the owner on Apr 10, 2024. It is now read-only.

Initialize tutorial

Arcueid edited this page Dec 14, 2022 · 8 revisions

Firebase side

  1. Go to Firebase Console

  2. Create Firebase Project

    1. Download google-services.json

      Download this google-services.json

    2. Download project-name-firebase-adminsdk.json

      Download this project-name-firebase-adminsdk.json

  3. Locate downloaded files from step 2.6 (google-services.json) and 2.21 (project-name-firebase-adminsdk.json). You will need those files for Developer side.

Developer side

  1. Install package;

    Follow: How To Install Better Collection Plugins.

  2. Open Build Notification Settings;

    Toolbar -> Better -> Build Notification -> Settings image

  3. Click "Import Firebase Admin SDK Data" and select project-name-firebase-adminsdk.json;

    Now project will store encrypted info inside project. Only on your device you will be able do decrypt it. Other wise you can share you key to other developers to use same Firebase project. More info

  4. Install Build Notification Application;

QR App initialization

To use this method check if your local ports is open to use over WIFI.

  1. Click "Service Info Data QR" and select google-services.json;
  2. Open app and press "Read Service Info Data QR";
  3. Read QR code;
  4. Wait until progress bar disappear.

File App initialization

  1. Click "Service Info Data File" and select google-services.json;
  2. Upload prepared google-services.json to your device with Build Notification Application;

    By default it named ServiceInfoData.json

  3. Follow instructions in Build Notification Application;
  4. Open side menu;
  5. Click menu item "Your token";
  6. Click on appeared text to copy to clipboard;
  7. Go to Unity Editor and click + in Firebase section;
  8. Paste copied token in appeared input field.

    In case if you want to add more notification receivers you can add multiply tokens.

Clone this wiki locally