Skip to content

Commit

Permalink
FIX: Configuration file google-service.json should be enabled in modu…
Browse files Browse the repository at this point in the history
…le "assembly" instead of "mobile".
  • Loading branch information
oasisfeng committed Mar 20, 2017
1 parent aa3c02b commit e454960
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 35 deletions.
3 changes: 0 additions & 3 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,3 @@ dependencies {
compile 'uk.co.samuelwall:material-tap-target-prompt:1.9.3'
compile(name: 'setup-wizard-lib-platform-release', ext: 'aar')
}

// Must be at the bottom of this file
apply plugin: 'com.google.gms.google-services'
3 changes: 3 additions & 0 deletions assembly/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,6 @@ if (rootProject.ext.assembly) {
releaseCompile project(path: ':mobile', configuration: 'release')
}
}

// Must be at the bottom of this file
apply plugin: 'com.google.gms.google-services'
33 changes: 1 addition & 32 deletions app/google-services.json → assembly/google-services.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"client_type": 1,
"android_info": {
"package_name": "com.oasisfeng.island",
"certificate_hash": "19446E81F05A3243E11F00BD51B62F9A18D11B8C"
"certificate_hash": "19446e81f05a3243e11f00bd51b62f9a18d11b8c"
}
},
{
Expand Down Expand Up @@ -49,37 +49,6 @@
"status": 2
}
}
},
{
"client_info": {
"mobilesdk_app_id": "1:300744183229:android:26c51e4914d62dbd",
"android_client_info": {
"package_name": "com.oasisfeng.island.mobile"
}
},
"oauth_client": [
{
"client_id": "300744183229-3l3o615c7vgr6c7potuidccel5df9ngd.apps.googleusercontent.com",
"client_type": 3
}
],
"api_key": [
{
"current_key": "AIzaSyAG-iZrDa_sYGMCF2nieBYUFGmShCC8lZI"
}
],
"services": {
"analytics_service": {
"status": 1
},
"appinvite_service": {
"status": 1,
"other_platform_oauth_client": []
},
"ads_service": {
"status": 2
}
}
}
],
"configuration_version": "1"
Expand Down

0 comments on commit e454960

Please sign in to comment.