Configuring Project - SrejonKhan/FirebaseRestClient GitHub Wiki

Setup Unity Project

After importing to your project, Open Settings from (Edit -> Project Settings -> Firebase Rest Client). This is where we will set all api configuration.

Setup Firebase Project (Recommended)

  1. Go to Google Cloud Platform and Create a Project step_zero
  2. Go to Firebase Console and Create New Project. While creating project, make sure to connect GCP Project rather than creating new one. step_one
  3. After creating Firebase Project, enable your desired service(s) e.g Authentication / Realtime Database.
  4. Remember, for Web API Key, you need to enable Authentication. Else, it will be empty. step_two

This is recommended way to set up the project if you're planning to add authentication. If you're only planning to use Realtime Database with no authentication, try the below procedures. Please keep in mind, if you connect your Firebase Project with GCP Project, there are some things to remember. For instance, if you delete Firebase Project, it will delete your GCP project too.

Setup Firebase Project (Shortcut)

  1. Go to Firebase Console and Create New Project. This time, no need to connect any GCP Project.
  2. After creating Firebase Project, enable your desired service(s) e.g Authentication / Realtime Database.
  3. Remember, for Web API Key, you need to enable Authentication. Else, it will be empty.

If you follow this procedure and planning to add Google Sign-In SDK, you may face some problems with ClientId and Secret. It's better to follow recommended procedure to avoid any unwanted problem.