Stay organized with collections
Save and categorize content based on your preferences.
With Firebase, it's easy to add backend services and analytics to your mobile
games on iOS and Android. Using our SDKs for C++ and Unity, you can
access Firebase services directly in your C++ and Unity code, without having to
write any Swift/Objective-C or Java/Kotlin code.
Find out more information about powering up your games with Firebase at our
Firebase 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 with
Google Analytics.
Firebase AI Logic — Build AI features using
Gemini models, like new forms of player interaction
(both voice and image input), responsive and evolving game worlds, and
personalized experiences.
Analytics — Learn how players interact with your game,
how much time they spend playing, how long they take to complete levels, how
much and how frequently they make in-app purchases, how often they return to
the game, and much more.
App Check - Protect your API resources from abuse by
preventing unauthorized clients from accessing your backend resources.
Authentication — Give players a frictionless sign-in experience that
also ensures safe and secure account management.
Realtime Database — Read and write game content using this
realtime, scalable database. Realtime Database allows you to keep track of player
presence in- or out-of-game.
Cloud Firestore — Read and write game content using
this realtime, scalable database. Cloud Firestore has outstanding uptime
guarantees and allows you to serve data from your choice of locations
worldwide.
Cloud Storage — Store and serve player-generated
content reliably and securely, such as avatars, game playthroughs, and
screenshots.
Cloud Messaging — Inform players about new
content or levels or send push notifications to players who have completed
your available content.
Crashlytics — Spend less time finding and more time
fixing crashes. Build more stable games by providing deep and actionable
insights into crashes.
Dynamic Links — Share content, such as custom levels,
in-game items, and game invitations between players.
Remote Config — Change elements of your game
without deploying code, including settings like enemy density or power-up
frequency.
Cloud Functions — Run backend code in a secure
environment in response to events triggered by other Firebase products and
client requests.
Supported Firebase products
The Firebase SDKs for C++ and for Unity directly support the following Firebase
products. Firebase also supports a subset of the available libraries for a
desktop workflow (beta) implementation.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-22 UTC."],[],[],null,["\u003cbr /\u003e\n\nWith Firebase, it's easy to add backend services and analytics to your mobile\ngames on iOS and Android. Using our SDKs for C++ and Unity, you can\naccess Firebase services directly in your C++ and Unity code, without having to\nwrite any Swift/Objective-C or Java/Kotlin code.\n\n\u003cbr /\u003e\n\nReady to get started? Choose your platform:\n\n[Unity](/docs/unity/setup)\n[C++](/docs/cpp/setup)\n\n\u003cbr /\u003e\n\n**Find out more information about powering up your games with Firebase at our\n[Firebase games page](//firebase.google.com/games).**\n\nExample use cases for Firebase in your games\n\n- [AdMob](/docs/admob) --- Earn revenue in your games with banner ads,\n interstitials, even rewarded video. Track your ads performance with\n Google Analytics.\n\n- [Firebase AI Logic](/docs/ai-logic) --- Build AI features using\n Gemini models, like new forms of player interaction\n (both voice and image input), responsive and evolving game worlds, and\n personalized experiences.\n\n- [Analytics](/docs/analytics) --- Learn how players interact with your game,\n how much time they spend playing, how long they take to complete levels, how\n much and how frequently they make in-app purchases, how often they return to\n the game, and much more.\n\n- [App Check](/docs/app-check) - Protect your API resources from abuse by\n preventing unauthorized clients from accessing your backend resources.\n\n- [Authentication](/docs/auth) --- Give players a frictionless sign-in experience that\n also ensures safe and secure account management.\n\n- [Realtime Database](/docs/database) --- Read and write game content using this\n realtime, scalable database. Realtime Database allows you to keep track of player\n presence in- or out-of-game.\n\n- [Cloud Firestore](/docs/firestore) --- Read and write game content using\n this realtime, scalable database. Cloud Firestore has outstanding uptime\n guarantees and allows you to serve data from your choice of locations\n worldwide.\n\n- [Cloud Storage](/docs/storage) --- Store and serve player-generated\n content reliably and securely, such as avatars, game playthroughs, and\n screenshots.\n\n- [Cloud Messaging](/docs/cloud-messaging) --- Inform players about new\n content or levels or send push notifications to players who have completed\n your available content.\n\n- [Crashlytics](/docs/crashlytics) --- Spend less time finding and more time\n fixing crashes. Build more stable games by providing deep and actionable\n insights into crashes.\n\n- [Dynamic Links](/docs/dynamic-links) --- Share content, such as custom levels,\n in-game items, and game invitations between players.\n\n- [Remote Config](/docs/remote-config) --- Change elements of your game\n without deploying code, including settings like enemy density or power-up\n frequency.\n\n- [Cloud Functions](/docs/functions) --- Run backend code in a secure\n environment in response to events triggered by other Firebase products and\n client requests.\n\nSupported Firebase products\n\nThe Firebase SDKs for C++ and for Unity directly support the following Firebase\nproducts. Firebase also supports a subset of the available libraries for a\ndesktop workflow (**beta**) implementation.\n\n| Firebase product | C++ | Unity | Desktop (beta) |\n|------------------------------------------|-----|-------|----------------|\n| [AdMob](/docs/admob) | | | |\n| [Firebase AI Logic](/docs/ai-logic) | | | |\n| [Analytics](/docs/analytics) | | | |\n| [App Check](/docs/app-check) | | | |\n| [Authentication](/docs/auth) | | | |\n| [Cloud Firestore](/docs/firestore) | | | |\n| [Cloud Functions](/docs/functions) | | | |\n| [Cloud Messaging](/docs/cloud-messaging) | | | |\n| [Cloud Storage](/docs/storage) | | | |\n| [Crashlytics](/docs/crashlytics) | | | |\n| [Dynamic Links](/docs/dynamic-links) | | | |\n| [Realtime Database](/docs/database) | | | |\n| [Remote Config](/docs/remote-config) | | | |\n\n| **Note:** For the desktop workflow, Firebase provides stub (non-functional) implementations of all unsupported Firebase products for convenience."]]