Codelab: Get started with Firebase in C++
summary
Step‑by‑step walkthrough that integrates the Firebase C++ SDK into an Android Cocos2d-x game using CMake + Gradle integration, links the app via google‑services.json, and enables Analytics by adding firebase_analytics and firebase_app to target_link_libraries. Shows how to enable debug reporting with adb shell setprop debug.firebase.analytics.app=com.firebase.popsiclerunner, logs custom events (level_start, level_end with a distance parameter), builds APKs for multiple ABIs and successfully sees live debug events in Firebase DebugView.
AI-written summary · about
chapters (9)
- 0:00Step 1, Overview
- 0:47Step 2, Get the sample code
- 1:46Step 3, Run the sample game
- 3:38Step 4, Firebase Console Setup
- 5:54Step 5, Add Firebase to your game
- 14:03Step 6, Add Analytics
- 17:05Step 7, Testing Events
- 19:30Step 8, Finding testers
- 22:28Step 9, Congratulations
related talks
34mDevelop Games with Firebase
24mFirebase for Games
07mWhat's new in Firebase | Recap
39mUsing Firebase as LiveOps for Your Game
37mPractical Android Games Development
51mCloud Native Development Level Up for Smaller Teams
34mHow to integrate Unity Analytics, ads & in-app purchases into your game with Unity Services
15mCrashlytics for game developers
