{"id":14973073,"url":"https://github.com/firebase/firebase-unity-sdk","last_synced_at":"2026-03-05T23:50:43.795Z","repository":{"id":37494690,"uuid":"298631153","full_name":"firebase/firebase-unity-sdk","owner":"firebase","description":"The Firebase SDK for Unity","archived":false,"fork":false,"pushed_at":"2025-05-13T23:17:19.000Z","size":12683,"stargazers_count":252,"open_issues_count":117,"forks_count":46,"subscribers_count":50,"default_branch":"main","last_synced_at":"2025-05-14T01:12:00.810Z","etag":null,"topics":["firbase-database","firebase","firebase-analytics","firebase-auth","firebase-authentication","firebase-cloud-messaging","firebase-firestore","firebase-functions","firebase-remote-config","firebase-storage","firestore","unity"],"latest_commit_sha":null,"homepage":"http://firebase.google.com","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/firebase.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2020-09-25T16:55:49.000Z","updated_at":"2025-05-13T10:01:03.000Z","dependencies_parsed_at":"2024-02-09T03:27:40.433Z","dependency_job_id":"22c5a3dd-3ece-4cff-a432-7ed5116bb821","html_url":"https://github.com/firebase/firebase-unity-sdk","commit_stats":{"total_commits":698,"total_committers":32,"mean_commits":21.8125,"dds":0.6504297994269341,"last_synced_commit":"919e11a6c6e463e7c709d6025be7bf092f331334"},"previous_names":[],"tags_count":42,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/firebase%2Ffirebase-unity-sdk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/firebase%2Ffirebase-unity-sdk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/firebase%2Ffirebase-unity-sdk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/firebase%2Ffirebase-unity-sdk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/firebase","download_url":"https://codeload.github.com/firebase/firebase-unity-sdk/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254509476,"owners_count":22082891,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["firbase-database","firebase","firebase-analytics","firebase-auth","firebase-authentication","firebase-cloud-messaging","firebase-firestore","firebase-functions","firebase-remote-config","firebase-storage","firestore","unity"],"created_at":"2024-09-24T13:48:04.631Z","updated_at":"2026-03-05T23:50:43.739Z","avatar_url":"https://github.com/firebase.png","language":"C#","readme":"# Firebase Unity Open Source Development\n\nThe repository contains the Firebase Unity SDK source, with support for Android,\niOS, and desktop platforms. Note that desktop is ***only supported for development\npurposes***. It includes the following Firebase libraries:\n\n- [Google Analytics for Firebase](https://firebase.google.com/docs/analytics/)\n- [Firebase App Check](https://firebase.google.com/docs/app-check/)\n- [Firebase Authentication](https://firebase.google.com/docs/auth/)\n- [Firebase Crashlytics](https://firebase.google.com/docs/crashlytics)\n- [Firebase Realtime Database](https://firebase.google.com/docs/database/)\n- [Firebase Dynamic Links](https://firebase.google.com/docs/dynamic-links/)\n- [Cloud Firestore](https://firebase.google.com/docs/firestore/)\n- [Cloud Functions for Firebase](https://firebase.google.com/docs/functions/)\n- [Firebase Invites](https://firebase.google.com/docs/invites/)\n- [Firebase Cloud Messaging](https://firebase.google.com/docs/cloud-messaging/)\n- [Firebase Remote Config](https://firebase.google.com/docs/remote-config/)\n- [Cloud Storage for Firebase](https://firebase.google.com/docs/storage/)\n\nFirebase is an app development platform with tools to help you build, grow and\nmonetize your app. More information about Firebase can be found at\n\u003chttps://firebase.google.com\u003e.\n\nMore information about the Firebase Unity SDK can be found at \u003chttps://firebase.google.com/docs/unity/setup\u003e.  Samples on how to use the\nFirebase Unity SDK can be found at \u003chttps://github.com/firebase/quickstart-unity\u003e.\n\n## Table of Contents\n\n- [Firebase Unity Open Source Development](#firebase-unity-open-source-development)\n  - [Table of Contents](#table-of-contents)\n  - [Getting Started](#getting-started)\n  - [Prerequisites](#prerequisites)\n    - [Install Unity](#install-unity)\n  - [Building](#building)\n    - [Building for certain library](#building-for-certain-library)\n  - [Packaging](#packaging)\n    - [Packaging unitypackage](#packaging-unitypackage)\n    - [Packaging tgz](#packaging-tgz)\n    - [Packing for certain library](#packing-for-certain-library)\n  - [Including in Project](#including-in-project)\n  - [Contributing](#contributing)\n  - [License](#license)\n\n## Getting Started\n\nYou can clone the repo with the following command:\n\n``` bash\ngit clone https://github.com/firebase/firebase-unity-sdk.git\n```\n\n## Prerequisites\n\nPlease follow [Firebase C++ SDK Prerequisites](https://github.com/firebase/firebase-cpp-sdk/blob/main/README.md#prerequisites) first.\n\n- [Swig](https://www.swig.org/), version 4 or newer\n\n### Install Unity\n\n- [Unity](https://unity.com/download), version 2019 or newer\n\nWhile installing through UnityHub, when you decide which version to install, it will pop up a dialog to select necessary support modules. Please check the boxes based on your dev machine OS and dev platform. For most common case while dev on macOS, we should select Android + Android SDK \u0026 NDK Tool, iOS Build Support and Mac Build Support (IL2CPP)\n\n## Building\n\nUnder the repo root folder, call\n\n``` bash\npython scripts/build_scripts/build_zips.py --platform=\u003ctarget platform\u003e\n```\n\n\u003e **Note:** Supported target platform names: linux,macos,windows,ios,android\n\nExpected output artifact is\n[Repo Root]/\u003c*platform_unity, eg macos_unity*\u003e/firebase_unity-\u003c *version* \u003e-\u003c *platform* \u003e.zip\n\n\u003e **Note:**\n\u003e\n\u003e - Linux zip requires linux machine to build.\n\u003e - Windows zip requires windows machine to build\n\u003e - macOS, iOS and android zips can be built by mac.(Although android zip could be built on both linux and windows machine as well, but we recommend to run it with mac, to get align with our CI)\n\n### Building for certain library\n\n``` bash\npython scripts/build_scripts/build_zips.py --platform=\u003ctarget platform\u003e --targets=\u003clib1\u003e --targets=\u003clib2\u003e\n```\n\n\u003e **Note:** Supported library names: analytics, app_check, auth, crashlytics, database, dynamic_links, firebaseai, firestore, functions, installations, messaging, remote_config, storage\n\n## Packaging\n\nWe can package the built artifacts to better imported by Unity Editor.\n\n### Packaging unitypackage\n\nCopy the zip file for each platforms to one folder, referred to as assets_zip_dir below, for example usually looks like this\n\n- firebase_unity-\u003c *version* \u003e-Android.zip\n- firebase_unity-\u003c *version* \u003e-Darwin.zip\n- firebase_unity-\u003c *version* \u003e-Linux.zip\n- firebase_unity-\u003c *version* \u003e-iOS.zip\n- firebase_unity-\u003c *version* \u003e-win64.zip\n  \nAnd then run:\n\n``` bash\npython scripts/build_scripts/build_package.py --zip_dir=\u003cassets_zip_dir\u003e --output=\u003coutput dir\u003e\n```\n\n### Packaging tgz\n\nWith the same assets_zip_dir, we can run:\n\n``` bash\npython scripts/build_scripts/build_package.py --zip_dir=\u003cassets_zip_dir\u003e --output=\u003coutput dir\u003e --output_upm=True\n```\n\n### Packing for certain library\n\nIf we build only certain subset of the libraries like in [Building for certain library](#building-for-certain-library), we can copy the built artifacts into assets_zip_dir, and then run:\n\n``` bash\npython scripts/build_scripts/build_package.py --zip_dir=\u003cassets_zip_dir\u003e --output=\u003coutput dir\u003e --apis=\u003clib1,lib2\u003e\n```\n\n## Including in Project\n\nWe can refer to [Firebase Unity Installation Options](https://firebase.google.com/docs/unity/setup-alternative) to learn how to import the unitypacakge or tgz files that packaged.\n\n## Contributing\n\nWe love contributions, but note that we are still working on setting up our\ntest infrastructure, so we may choose not to accept pull requests until we have\na way to validate those changes on GitHub. Please read our\n[contribution guidelines](/CONTRIBUTING.md) to get started.\n\n## License\n\nThe contents of this repository is licensed under the\n[Apache License, version 2.0](http://www.apache.org/licenses/LICENSE-2.0).\n\nYour use of Firebase is governed by the\n[Terms of Service for Firebase Services](https://firebase.google.com/terms/).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffirebase%2Ffirebase-unity-sdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffirebase%2Ffirebase-unity-sdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffirebase%2Ffirebase-unity-sdk/lists"}