Added example google services. Added instruction for google services.

This commit is contained in:
Keith Holliday 2016-07-08 16:01:53 -05:00
parent 2bf908f9de
commit 3a774858b4
2 changed files with 75 additions and 1 deletions

View file

@ -0,0 +1,73 @@
{
"project_info": {
"project_number": "project-number",
"firebase_url": "https://example.firebaseio.com",
"project_id": "project-id",
"storage_bucket": "storage.bucket"
},
"client": [
{
"client_info": {
"mobilesdk_app_id": "app-id",
"android_client_info": {
"package_name": "com.example"
}
},
"oauth_client": [
{
"client_id": "client-key",
"client_type": 3
}
],
"api_key": [
{
"current_key": "api-key"
}
],
"services": {
"analytics_service": {
"status": 1
},
"appinvite_service": {
"status": 1,
"other_platform_oauth_client": []
},
"ads_service": {
"status": 2
}
}
},
{
"client_info": {
"mobilesdk_app_id": "app-id",
"android_client_info": {
"package_name": "com.example"
}
},
"oauth_client": [
{
"client_id": "client-id",
"client_type": 3
}
],
"api_key": [
{
"current_key": "api-key"
}
],
"services": {
"analytics_service": {
"status": 1
},
"appinvite_service": {
"status": 1,
"other_platform_oauth_client": []
},
"ads_service": {
"status": 2
}
}
}
],
"configuration_version": "1"
}

View file

@ -12,7 +12,7 @@ It's also on Google Play:
src="https://play.google.com/intl/en_us/badges/images/generic/en-play-badge.png" />
</a>
Having the application installed is a good way to be notified of new releases. However, clicking "Watch" on this
Having the application installed is a good way to be notified of new releases. However, clicking "Watch" on this
repository will allow GitHub to email you whenever we publish a release.
@ -54,6 +54,7 @@ Setup Habitica build config files by simply copying the example habitica files.
$ cp habitica.properties.example habitica.properties
$ cp habitica.resources.example habitica.resources
$ cp Habitica/google-services.json.example Habitica/google-services.json (Get .json from Firebase Console)
Note: this is the default production `habitica.properties` file for habitica.com. If you
want to use a local habitica server, please modify the values in the properties file accordingly.