Skip to content

Developer Documentation

Friedger Müffke edited this page Jul 24, 2015 · 16 revisions

Developer Documentation

Build System

The project is using the gradle build system.

Configuration

All secret API keys are stored in keys.xml

Furthermore, you need to use a debug.keystore for signing that is whitelisted for Google Plus Sign-in.

###play_app_id The play app id is used in the Android manifest for

  • com.google.android.gms.games.APP_ID
  • com.google.android.gms.appstate.APP_ID

If the key is missing G+ signing is not working.

###android_simple_api_access_key This key is used for Google maps (com.google.android.maps.v2.API_KEY) and to initialise the YouTubePlayerSupportFragment.

###ip_simple_api_access_key This key is used to query the G+ API.

If the key is missing most content, like G+ profile images can't be loaded.

###gcm_sender_id This id is the project id of the GDG[x] Hub.

mGcm.register(BuildConfig.GCM_SENDER_ID)

If the key is missing push notifications are not devlivered.

###android_backup_key This key is used for the backup key in the Android manifest com.google.android.backup.api_key.

If the key is missing backup after re-install is not working.

###hub_client_id The hub client it is used to get a scoped auth token. This token is send to the hub for GCM.

scope = "audience:server:client_id:" + BuildConfig.HUB_CLIENT_ID

If the key is missing push notifications are not devlivered.

###Debug Build If the Game on Google Play Console is not published, only the registered testers can use the Google+ login in the debug build.

GDG-X Hub/Google Developers Groups API

Event data are received from developers.google.com

Tagged events are received from the GDG-X Hub server

All api calls are wrapped in a ApiRequest

Clone this wiki locally