Skip to content
This repository was archived by the owner on Sep 10, 2022. It is now read-only.

Commit 9f93103

Browse files
a-mauriceAndroid (Google) Code Review
authored andcommitted
Merge "Adding page documenting Firebase features." into ub-games-master
2 parents 54c878f + 0da6e9c commit 9f93103

File tree

3 files changed

+60
-0
lines changed

3 files changed

+60
-0
lines changed

docs/src/doxyfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -753,6 +753,7 @@ INPUT = "index.md" \
753753
"programmers_guide/cardboard.md" \
754754
"programmers_guide/cardboard_gameplay.md" \
755755
"programmers_guide/controllers.md" \
756+
"programmers_guide/firebase.md" \
756757
"programmers_guide/gameplay.md" \
757758
"programmers_guide/game_states.md" \
758759
"programmers_guide/overview.md" \

docs/src/doxygen_layout.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
<tab type="user" url="@ref zooshi_guide_controllers"
4242
title="Controllers"/>
4343
<tab type="user" url="@ref zooshi_guide_cardboard" title="Cardboard"/>
44+
<tab type="user" url="@ref zooshi_guide_firebase" title="Firebase"/>
4445
</tab>
4546
</tab>
4647
<tab type="user" url="@ref zooshi_readme" title="Readme"/>

docs/src/firebase.md

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
Firebase {#zooshi_guide_firebase}
2+
===================
3+
4+
# Introduction {#firebase_introduction}
5+
6+
This document outlines how the [Firebase C++ SDK][] is used in
7+
[Zooshi][]. For additional samples on how to integrate Firebase, be sure
8+
to check out [Firebase Samples][].
9+
10+
# Overview {#firebase_overview}
11+
12+
Firebase makes it easy to add backend services and analytics to your mobile
13+
games on iOS and Android. With the Firebase C++ SDK, you can access Firebase
14+
services directly in your C++ code, without having to write any Java or
15+
Swift (or Objective-C) code.
16+
17+
# AdMob {#firebase_admob}
18+
19+
[Firebase AdMob][] is used to offer [Rewarded Video][] ads to the user,
20+
in exchange for bonus XP granted upon playing the level. The relevant code can
21+
be found in (admob.h/.cpp).
22+
23+
# Analytics {#firebase_analytics}
24+
25+
[Firebase Analytics][] is used to collect analytics from various events, such
26+
as when a level is started, or when a patron is fed. The relevant code can
27+
be found in (analytics.h/.cpp).
28+
29+
# Cloud Messaging {#firebase_messaging}
30+
31+
[Firebase Cloud Messaging][] is used to deliver messages to users, which can
32+
call users into playing, and can include rewards. The relevant code can be
33+
found in (messaging.h/.cpp).
34+
35+
# Invites {#firebase_invites}
36+
37+
[Firebase Invites][] lets users invite others to try Zooshi with app referals
38+
via email, which gets rewarded with unlockables. The relevant code can be found
39+
in (invites.h/.cpp).
40+
41+
# Remote Config {#firebase_remote_config}
42+
43+
[Firebase Remote Config][] is used to allow modification of menu items within
44+
Zooshi without needing to push new versions, through the Firebase console.
45+
The relevant code can be found in (remote_config.h/.cpp).
46+
47+
<br>
48+
49+
[Zooshi]: @ref zooshi_index
50+
[Firebase C++ SDK]: https://firebase.google.com/docs/cpp/setup
51+
[Firebase Samples]: https://firebase.google.com/docs/samples
52+
[Firebase AdMob]: https://firebase.google.com/docs/admob/cpp/quick-start
53+
[Rewarded Video]: https://firebase.google.com/docs/admob/cpp/rewarded-video
54+
[Firebase Analytics]: https://firebase.google.com/docs/analytics/cpp/start
55+
[Firebase Cloud Messaging]: https://firebase.google.com/docs/cloud-messaging/cpp/client
56+
[Firebase Invites]: https://firebase.google.com/docs/invites/cpp
57+
[Firebase Remote Config]: https://firebase.google.com/docs/remote-config/use-config-cpp
58+

0 commit comments

Comments
 (0)