From 36fe864c3f8a51f796034c37003635f7493f9fdd Mon Sep 17 00:00:00 2001 From: Vavassor Date: Fri, 14 Jul 2017 20:58:31 -0400 Subject: [PATCH] Re-includes Firebase Crash Reporting in the google play build flavour. --- app/build.gradle | 7 ++++ app/google-services.json | 55 ++++++++++++++++++++++++++++++ app/src/google/AndroidManifest.xml | 7 ++++ build.gradle | 1 + 4 files changed, 70 insertions(+) create mode 100644 app/google-services.json create mode 100644 app/src/google/AndroidManifest.xml diff --git a/app/build.gradle b/app/build.gradle index ae008c98..91c75b63 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -19,6 +19,10 @@ android { proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' } } + productFlavors { + google {} + fdroid {} + } lintOptions { disable 'MissingTranslation' } @@ -60,4 +64,7 @@ dependencies { compile "android.arch.persistence.room:runtime:1.0.0-alpha3" annotationProcessor "android.arch.persistence.room:compiler:1.0.0-alpha3" + googleCompile 'com.google.firebase:firebase-crash:10.0.1' } + +apply plugin: 'com.google.gms.google-services' \ No newline at end of file diff --git a/app/google-services.json b/app/google-services.json new file mode 100644 index 00000000..bfd19f88 --- /dev/null +++ b/app/google-services.json @@ -0,0 +1,55 @@ +{ + "project_info": { + "project_number": "268851337880", + "firebase_url": "https://tusky-62772.firebaseio.com", + "project_id": "tusky-62772", + "storage_bucket": "tusky-62772.appspot.com" + }, + "client": [ + { + "client_info": { + "mobilesdk_app_id": "1:268851337880:android:fc4111b1d145a00e", + "android_client_info": { + "package_name": "com.keylesspalace.tusky" + } + }, + "oauth_client": [ + { + "client_id": "268851337880-eie2ssto2d21bfihn9d1qupcrke8oebf.apps.googleusercontent.com", + "client_type": 1, + "android_info": { + "package_name": "com.keylesspalace.tusky", + "certificate_hash": "18d196307d6e928e99c2e0bb9818c01c38aff2f9" + } + }, + { + "client_id": "268851337880-n19d05m282nirs1fc9kdd5n4of6je4fk.apps.googleusercontent.com", + "client_type": 3 + } + ], + "api_key": [ + { + "current_key": "AIzaSyCbJtSjuk4I3Jy8PdUaO3TaQOXubcOUElo" + } + ], + "services": { + "analytics_service": { + "status": 1 + }, + "appinvite_service": { + "status": 2, + "other_platform_oauth_client": [ + { + "client_id": "268851337880-n19d05m282nirs1fc9kdd5n4of6je4fk.apps.googleusercontent.com", + "client_type": 3 + } + ] + }, + "ads_service": { + "status": 2 + } + } + } + ], + "configuration_version": "1" +} \ No newline at end of file diff --git a/app/src/google/AndroidManifest.xml b/app/src/google/AndroidManifest.xml new file mode 100644 index 00000000..c41b8dd6 --- /dev/null +++ b/app/src/google/AndroidManifest.xml @@ -0,0 +1,7 @@ + + + + + + diff --git a/build.gradle b/build.gradle index eb17a91d..deb9a5c1 100644 --- a/build.gradle +++ b/build.gradle @@ -9,6 +9,7 @@ buildscript { // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files + classpath 'com.google.gms:google-services:3.0.0' } }