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

Commit

Permalink
Merge internal branch into master
Browse files Browse the repository at this point in the history
  • Loading branch information
a-maurice committed Feb 27, 2017
2 parents bdbc317 + 9f93103 commit 600f6fc
Show file tree
Hide file tree
Showing 4 changed files with 62 additions and 2 deletions.
4 changes: 2 additions & 2 deletions AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ limitations under the License.
<!-- BEGIN_INCLUDE(manifest) -->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.google.fpl.zooshi"
android:versionCode="16"
android:versionName="1.1">
android:versionCode="17"
android:versionName="1.1.1">

<uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />
<permission
Expand Down
1 change: 1 addition & 0 deletions docs/src/doxyfile
Original file line number Diff line number Diff line change
Expand Up @@ -753,6 +753,7 @@ INPUT = "index.md" \
"programmers_guide/cardboard.md" \
"programmers_guide/cardboard_gameplay.md" \
"programmers_guide/controllers.md" \
"programmers_guide/firebase.md" \
"programmers_guide/gameplay.md" \
"programmers_guide/game_states.md" \
"programmers_guide/overview.md" \
Expand Down
1 change: 1 addition & 0 deletions docs/src/doxygen_layout.xml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
<tab type="user" url="@ref zooshi_guide_controllers"
title="Controllers"/>
<tab type="user" url="@ref zooshi_guide_cardboard" title="Cardboard"/>
<tab type="user" url="@ref zooshi_guide_firebase" title="Firebase"/>
</tab>
</tab>
<tab type="user" url="@ref zooshi_readme" title="Readme"/>
Expand Down
58 changes: 58 additions & 0 deletions docs/src/firebase.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
Firebase {#zooshi_guide_firebase}
===================

# Introduction {#firebase_introduction}

This document outlines how the [Firebase C++ SDK][] is used in
[Zooshi][]. For additional samples on how to integrate Firebase, be sure
to check out [Firebase Samples][].

# Overview {#firebase_overview}

Firebase makes it easy to add backend services and analytics to your mobile
games on iOS and Android. With the Firebase C++ SDK, you can access Firebase
services directly in your C++ code, without having to write any Java or
Swift (or Objective-C) code.

# AdMob {#firebase_admob}

[Firebase AdMob][] is used to offer [Rewarded Video][] ads to the user,
in exchange for bonus XP granted upon playing the level. The relevant code can
be found in (admob.h/.cpp).

# Analytics {#firebase_analytics}

[Firebase Analytics][] is used to collect analytics from various events, such
as when a level is started, or when a patron is fed. The relevant code can
be found in (analytics.h/.cpp).

# Cloud Messaging {#firebase_messaging}

[Firebase Cloud Messaging][] is used to deliver messages to users, which can
call users into playing, and can include rewards. The relevant code can be
found in (messaging.h/.cpp).

# Invites {#firebase_invites}

[Firebase Invites][] lets users invite others to try Zooshi with app referals
via email, which gets rewarded with unlockables. The relevant code can be found
in (invites.h/.cpp).

# Remote Config {#firebase_remote_config}

[Firebase Remote Config][] is used to allow modification of menu items within
Zooshi without needing to push new versions, through the Firebase console.
The relevant code can be found in (remote_config.h/.cpp).

<br>

[Zooshi]: @ref zooshi_index
[Firebase C++ SDK]: https://firebase.google.com/docs/cpp/setup
[Firebase Samples]: https://firebase.google.com/docs/samples
[Firebase AdMob]: https://firebase.google.com/docs/admob/cpp/quick-start
[Rewarded Video]: https://firebase.google.com/docs/admob/cpp/rewarded-video
[Firebase Analytics]: https://firebase.google.com/docs/analytics/cpp/start
[Firebase Cloud Messaging]: https://firebase.google.com/docs/cloud-messaging/cpp/client
[Firebase Invites]: https://firebase.google.com/docs/invites/cpp
[Firebase Remote Config]: https://firebase.google.com/docs/remote-config/use-config-cpp

0 comments on commit 600f6fc

Please sign in to comment.