Firebase Unity3D example: a walk through tutorial

Unpack the file, there will be a number of different unity packages. Double click on the packages you wish to add (i.e. import) to Unity3D projects. In this article, I am using FirebaseMessaging as an example.

Once the packages of interest are imported to Unity3D, you will see several folders created in your project:

Step II: setup in Firebase Console

Create a Firebase project in the Firebase console. If you already have an existing Google project associated with your mobile app, click Import Google Project.

When prompted, enter your app’s bundle ID. It’s important to enter and remember the bundle ID.

If you’re importing an existing project, this may happen automatically and you can just download the config file. The file for Unity3D might be one or both of the below files: GoogleService-Info.plist (for iOS) Google-services.json (for Android).

Add the GoogleService-Info.plist (for iOS) and/or Google-services.json (for Android) file to the project by dragging the downloaded file(s) from the Firebase console into any folder in the Unity project.