Power up your game development using Firebase

With Firebase, it's easy to add backend services and analytics to your mobilegames on iOS and Android. Using our SDKs for C++ and Unity, you canaccess Firebase services directly in your C++ and Unity code, without having towrite any Swift/Objective-C or Java/Kotlin code.


Ready to get started? Choose your platform:

UnityC++


Find out more information about powering up your games with Firebase at ourFirebase games page.

Example use cases for Firebase in your games

  • AdMob — Earn revenue in your games with banner ads,interstitials, even rewarded video. Track your ads performance withGoogle Analytics.

  • Firebase AI Logic — Build AI features usingGemini models, like new forms of player interaction(both voice and image input), responsive and evolving game worlds, andpersonalized experiences.

  • Analytics — Learn how players interact with your game,how much time they spend playing, how long they take to complete levels, howmuch and how frequently they make in-app purchases, how often they return tothe game, and much more.

  • App Check - Protect your API resources from abuse bypreventing unauthorized clients from accessing your backend resources.

  • Authentication — Give players a frictionless sign-in experience thatalso ensures safe and secure account management.

  • Realtime Database — Read and write game content using thisrealtime, scalable database.Realtime Database allows you to keep track of playerpresence in- or out-of-game.

  • Cloud Firestore — Read and write game content usingthis realtime, scalable database.Cloud Firestore has outstanding uptimeguarantees and allows you to serve data from your choice of locationsworldwide.

  • Cloud Storage — Store and serve player-generatedcontent reliably and securely, such as avatars, game playthroughs, andscreenshots.

  • Cloud Messaging — Inform players about newcontent or levels or send push notifications to players who have completedyour available content.

  • Crashlytics — Spend less time finding and more timefixing crashes. Build more stable games by providing deep and actionableinsights into crashes.

  • Dynamic Links — Share content, such as custom levels,in-game items, and game invitations between players.

  • Remote Config — Change elements of your gamewithout deploying code, including settings like enemy density or power-upfrequency.

  • Cloud Functions — Run backend code in a secureenvironment in response to events triggered by other Firebase products andclient requests.

Supported Firebase products

The Firebase SDKs for C++ and for Unity directly support the following Firebaseproducts. Firebase also supports a subset of the available libraries for adesktop workflow (beta) implementation.

Firebase productC++UnityDesktop (beta)
AdMob
Firebase AI Logic
Analytics
App Check
Authentication
Cloud Firestore
Cloud Functions
Cloud Messaging
Cloud Storage
Crashlytics
Dynamic Links
Realtime Database
Remote Config
Note: For the desktop workflow, Firebase provides stub (non-functional)implementations of all unsupported Firebase products for convenience.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2026-02-04 UTC.