From 38c4440d457210fe1b6100eb655d75be074ae6a7 Mon Sep 17 00:00:00 2001 From: Finnley Somdahl <87634197+rebelonion@users.noreply.github.com> Date: Sat, 9 Dec 2023 13:35:51 -0600 Subject: [PATCH] google services --- .gitignore | 3 - app/google-services.json | 67 +++++++++++++++++++ .../main/java/ani/dantotsu/others/.gitignore | 1 - .../ani/dantotsu/others/DisabledReports.kt | 4 ++ build.gradle | 2 +- 5 files changed, 72 insertions(+), 5 deletions(-) create mode 100644 app/google-services.json delete mode 100644 app/src/main/java/ani/dantotsu/others/.gitignore create mode 100644 app/src/main/java/ani/dantotsu/others/DisabledReports.kt diff --git a/.gitignore b/.gitignore index 868226a0..c81d22db 100644 --- a/.gitignore +++ b/.gitignore @@ -23,9 +23,6 @@ output.json *.jks *.keystore -# Google Services (e.g. APIs or Firebase) -google-services.json - # Android Profiling *.hprof diff --git a/app/google-services.json b/app/google-services.json new file mode 100644 index 00000000..7e54b99a --- /dev/null +++ b/app/google-services.json @@ -0,0 +1,67 @@ +{ + "project_info": { + "project_number": "1039200814590", + "project_id": "dantotsu-1e50f", + "storage_bucket": "dantotsu-1e50f.appspot.com" + }, + "client": [ + { + "client_info": { + "mobilesdk_app_id": "1:1039200814590:android:c372b8c1b92b825f1aacaf", + "android_client_info": { + "package_name": "ani.Dantotsu" + } + }, + "oauth_client": [], + "api_key": [ + { + "current_key": "AIzaSyCiXo_q4S2ofA5oCztsoLnlDqJi3GtTJjY" + } + ], + "services": { + "appinvite_service": { + "other_platform_oauth_client": [] + } + } + }, + { + "client_info": { + "mobilesdk_app_id": "1:1039200814590:android:40e14720ee97917e1aacaf", + "android_client_info": { + "package_name": "ani.dantotsu.beta" + } + }, + "oauth_client": [], + "api_key": [ + { + "current_key": "AIzaSyCiXo_q4S2ofA5oCztsoLnlDqJi3GtTJjY" + } + ], + "services": { + "appinvite_service": { + "other_platform_oauth_client": [] + } + } + }, + { + "client_info": { + "mobilesdk_app_id": "1:1039200814590:android:40e14720ee97917e1aacaf", + "android_client_info": { + "package_name": "ani.dantotsu" + } + }, + "oauth_client": [], + "api_key": [ + { + "current_key": "AIzaSyCiXo_q4S2ofA5oCztsoLnlDqJi3GtTJjY" + } + ], + "services": { + "appinvite_service": { + "other_platform_oauth_client": [] + } + } + } + ], + "configuration_version": "1" +} \ No newline at end of file diff --git a/app/src/main/java/ani/dantotsu/others/.gitignore b/app/src/main/java/ani/dantotsu/others/.gitignore deleted file mode 100644 index 075a003d..00000000 --- a/app/src/main/java/ani/dantotsu/others/.gitignore +++ /dev/null @@ -1 +0,0 @@ -DisabledReports.kt \ No newline at end of file diff --git a/app/src/main/java/ani/dantotsu/others/DisabledReports.kt b/app/src/main/java/ani/dantotsu/others/DisabledReports.kt new file mode 100644 index 00000000..8dc4a0e4 --- /dev/null +++ b/app/src/main/java/ani/dantotsu/others/DisabledReports.kt @@ -0,0 +1,4 @@ +package ani.dantotsu.others + +const val DisabledReports = false +//Setting this to false, will allow sending crash reports to Dantotsu's Firebase Crashlytics \ No newline at end of file diff --git a/build.gradle b/build.gradle index 5e3cf66b..6ffde722 100644 --- a/build.gradle +++ b/build.gradle @@ -12,7 +12,7 @@ buildscript { } dependencies { - classpath 'com.android.tools.build:gradle:8.1.4' + classpath 'com.android.tools.build:gradle:8.2.0' classpath 'com.google.gms:google-services:4.4.0' classpath 'com.google.firebase:firebase-crashlytics-gradle:2.9.9' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"