From de9699790d403e6cd3c81efebed132f156524d0a Mon Sep 17 00:00:00 2001 From: PeratX <1215714524@qq.com> Date: Sun, 25 Mar 2018 08:30:50 +0800 Subject: [PATCH] Added google-services.json for Debug --- .gitignore | 2 ++ app/build.gradle | 1 + app/google-services.json | 55 ------------------------------ app/src/debug/google-services.json | 42 +++++++++++++++++++++++ build.gradle | 2 +- 5 files changed, 46 insertions(+), 56 deletions(-) delete mode 100644 app/google-services.json create mode 100644 app/src/debug/google-services.json diff --git a/.gitignore b/.gitignore index e56ed97..2af9d1e 100644 --- a/.gitignore +++ b/.gitignore @@ -41,3 +41,5 @@ captures/ # Keystore files *.jks + +app/google-services.json diff --git a/app/build.gradle b/app/build.gradle index f57f9cc..f736c48 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -53,4 +53,5 @@ dependencies { implementation 'com.google.firebase:firebase-core:12.0.0' implementation 'com.crashlytics.sdk.android:crashlytics:2.9.1' } + apply plugin: 'com.google.gms.google-services' diff --git a/app/google-services.json b/app/google-services.json deleted file mode 100644 index fb2bf54..0000000 --- a/app/google-services.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "project_info": { - "project_number": "720850593604", - "firebase_url": "https://daedalus-5a287.firebaseio.com", - "project_id": "daedalus-5a287", - "storage_bucket": "daedalus-5a287.appspot.com" - }, - "client": [ - { - "client_info": { - "mobilesdk_app_id": "1:720850593604:android:51675184b44f9aaf", - "android_client_info": { - "package_name": "org.itxtech.daedalus" - } - }, - "oauth_client": [ - { - "client_id": "720850593604-j2t0ev8gci03fomja2is6eo2d3rrq3t0.apps.googleusercontent.com", - "client_type": 1, - "android_info": { - "package_name": "org.itxtech.daedalus", - "certificate_hash": "1beaad0246ccbfbe5176736d1d2c9ee6ce85fd5f" - } - }, - { - "client_id": "720850593604-f07km08hrt0ocopsqrbq408j5qnl7nb5.apps.googleusercontent.com", - "client_type": 3 - } - ], - "api_key": [ - { - "current_key": "AIzaSyCA_AW1WmTg2f1Juwd5-D5VdVyv7B_4IPE" - } - ], - "services": { - "analytics_service": { - "status": 1 - }, - "appinvite_service": { - "status": 2, - "other_platform_oauth_client": [ - { - "client_id": "720850593604-f07km08hrt0ocopsqrbq408j5qnl7nb5.apps.googleusercontent.com", - "client_type": 3 - } - ] - }, - "ads_service": { - "status": 2 - } - } - } - ], - "configuration_version": "1" -} \ No newline at end of file diff --git a/app/src/debug/google-services.json b/app/src/debug/google-services.json new file mode 100644 index 0000000..4a25329 --- /dev/null +++ b/app/src/debug/google-services.json @@ -0,0 +1,42 @@ +{ + "project_info": { + "project_number": "364359664562", + "firebase_url": "https://daedalusdebug.firebaseio.com", + "project_id": "daedalusdebug", + "storage_bucket": "daedalusdebug.appspot.com" + }, + "client": [ + { + "client_info": { + "mobilesdk_app_id": "1:364359664562:android:51675184b44f9aaf", + "android_client_info": { + "package_name": "org.itxtech.daedalus" + } + }, + "oauth_client": [ + { + "client_id": "364359664562-oukpc6t0mjpgc4jqcmpe5qu4ghf6qjln.apps.googleusercontent.com", + "client_type": 3 + } + ], + "api_key": [ + { + "current_key": "AIzaSyAq3BS019g5WXKll6ytod_DOszz3ISX4wY" + } + ], + "services": { + "analytics_service": { + "status": 1 + }, + "appinvite_service": { + "status": 1, + "other_platform_oauth_client": [] + }, + "ads_service": { + "status": 2 + } + } + } + ], + "configuration_version": "1" +} \ No newline at end of file diff --git a/build.gradle b/build.gradle index 9a12fd9..3f192b0 100644 --- a/build.gradle +++ b/build.gradle @@ -10,7 +10,7 @@ buildscript { } dependencies { classpath 'com.android.tools.build:gradle:3.0.1' - classpath 'com.google.gms:google-services:3.1.1' + classpath 'com.google.gms:google-services:3.2.0' classpath 'io.fabric.tools:gradle:1.25.1' // NOTE: Do not place your application dependencies here; they belong