[Video](https://www.youtube.com/watch?v=rAcWLPQIL38)

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.

<br />

Ready to get started? Choose your platform:

[Unity](https://firebase.google.com/docs/unity/setup.md.txt)
[C++](https://firebase.google.com/docs/cpp/setup.md.txt)

<br />

**Find out more information about powering up your games with Firebase at our
[Firebase games page](https://firebase.google.com/games.md.txt).**

## Example use cases for Firebase in your games

- [AdMob](https://firebase.google.com/docs/admob.md.txt) --- Earn revenue in your games with banner ads,
  interstitials, even rewarded video. Track your ads performance with
  Google Analytics.

- [Firebase AI Logic](https://firebase.google.com/docs/ai-logic.md.txt) --- 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](https://firebase.google.com/docs/analytics.md.txt) --- 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](https://firebase.google.com/docs/app-check.md.txt) - Protect your API resources from abuse by
  preventing unauthorized clients from accessing your backend resources.

- [Authentication](https://firebase.google.com/docs/auth.md.txt) --- Give players a frictionless sign-in experience that
  also ensures safe and secure account management.

- [Realtime Database](https://firebase.google.com/docs/database.md.txt) --- Read and write game content using this
  realtime, scalable database. Realtime Database lets you keep track of player
  presence in- or out-of-game.

- [Cloud Firestore](https://firebase.google.com/docs/firestore.md.txt) --- Read and write game content using
  this realtime, scalable database. Cloud Firestore has outstanding uptime
  guarantees and lets you serve data from your choice of locations
  worldwide.

- [Cloud Storage](https://firebase.google.com/docs/storage.md.txt) --- Store and serve player-generated
  content reliably and securely, such as avatars, game playthroughs, and
  screenshots.

- [Cloud Messaging](https://firebase.google.com/docs/cloud-messaging.md.txt) --- Inform players about new
  content or levels or send push notifications to players who have completed
  your available content.

- [Crashlytics](https://firebase.google.com/docs/crashlytics.md.txt) --- Spend less time finding and more time
  fixing crashes. Build more stable games by providing deep and actionable
  insights into crashes.

- [Remote Config](https://firebase.google.com/docs/remote-config.md.txt) --- Change elements of your game
  without deploying code, including settings like enemy density or power-up
  frequency.

- [Cloud Functions](https://firebase.google.com/docs/functions.md.txt) --- 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.

| Firebase product | C++ | Unity | Desktop (beta) |
|---|---|---|---|
| [AdMob](https://firebase.google.com/docs/admob.md.txt) | No | Yes | No |
| [Firebase AI Logic](https://firebase.google.com/docs/ai-logic.md.txt) | No | Yes | Yes |
| [Analytics](https://firebase.google.com/docs/analytics.md.txt) | Yes | Yes | No |
| [App Check](https://firebase.google.com/docs/app-check.md.txt) | Yes | Yes | Yes |
| [Authentication](https://firebase.google.com/docs/auth.md.txt) | Yes | Yes | Yes |
| [Cloud Firestore](https://firebase.google.com/docs/firestore.md.txt) | Yes | Yes | Yes |
| [Cloud Functions](https://firebase.google.com/docs/functions.md.txt) | Yes | Yes | Yes |
| [Cloud Messaging](https://firebase.google.com/docs/cloud-messaging.md.txt) | Yes | Yes | No |
| [Cloud Storage](https://firebase.google.com/docs/storage.md.txt) | Yes | Yes | Yes |
| [Crashlytics](https://firebase.google.com/docs/crashlytics.md.txt) | No | Yes | No |
| [Realtime Database](https://firebase.google.com/docs/database.md.txt) | Yes | Yes | Yes |
| [Remote Config](https://firebase.google.com/docs/remote-config.md.txt) | Yes | Yes | Yes |

> [!NOTE]
> **Note:** For the desktop workflow, Firebase provides stub (non-functional) implementations of all unsupported Firebase products for convenience.