diff --git a/app-tv/build.gradle.kts b/app-tv/build.gradle.kts index 16c3278b..8e82fed1 100644 --- a/app-tv/build.gradle.kts +++ b/app-tv/build.gradle.kts @@ -7,6 +7,8 @@ plugins { alias(libs.plugins.kotlin.serialization) alias(libs.plugins.hilt) alias(libs.plugins.ksp) + alias(libs.plugins.google.gms.google.services) + alias(libs.plugins.google.firebase.crashlytics) } android { @@ -82,6 +84,7 @@ dependencies { implementation(libs.media3.datasource.okhttp) implementation(libs.androidx.navigation3.runtime) implementation(libs.androidx.navigation3.ui) + implementation(libs.firebase.crashlytics) testImplementation(libs.junit) androidTestImplementation(libs.androidx.junit) androidTestImplementation(libs.androidx.espresso.core) diff --git a/app-tv/google-services.json b/app-tv/google-services.json new file mode 100644 index 00000000..8e5693c4 --- /dev/null +++ b/app-tv/google-services.json @@ -0,0 +1,29 @@ +{ + "project_info": { + "project_number": "407366050869", + "project_id": "purefin-12eec", + "storage_bucket": "purefin-12eec.firebasestorage.app" + }, + "client": [ + { + "client_info": { + "mobilesdk_app_id": "1:407366050869:android:8fa3540adfc514add73d7c", + "android_client_info": { + "package_name": "hu.bbara.purefin.tv" + } + }, + "oauth_client": [], + "api_key": [ + { + "current_key": "AIzaSyD8a9BnlFSmcw4v0gukC1qcyESznUUWsXI" + } + ], + "services": { + "appinvite_service": { + "other_platform_oauth_client": [] + } + } + } + ], + "configuration_version": "1" +} \ No newline at end of file diff --git a/build.gradle.kts b/build.gradle.kts index da309545..666ff0fa 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -8,4 +8,6 @@ plugins { alias(libs.plugins.kotlin.serialization) apply false alias(libs.plugins.ksp) apply false alias(libs.plugins.hilt) apply false + alias(libs.plugins.google.gms.google.services) apply false + alias(libs.plugins.google.firebase.crashlytics) apply false } diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 8ea8f1d1..ac4e2647 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -24,6 +24,9 @@ media3FfmpegDecoder = "1.9.0+1" nav3Core = "1.0.0" room = "2.7.0" slf4j = "2.0.17" +firebaseCrashlytics = "20.0.5" +googleGmsGoogleServices = "4.4.4" +googleFirebaseCrashlytics = "3.0.7" [libraries] androidx-core-ktx = { group = "androidx.core", name = "core-ktx", version.ref = "coreKtx" } @@ -69,6 +72,7 @@ androidx-navigation3-ui = { module = "androidx.navigation3:navigation3-ui", vers androidx-room-ktx = { module = "androidx.room:room-ktx", version.ref = "room" } androidx-room-compiler = { module = "androidx.room:room-compiler", version.ref = "room" } slf4j-api = { group = "org.slf4j", name = "slf4j-api", version.ref = "slf4j" } +firebase-crashlytics = { group = "com.google.firebase", name = "firebase-crashlytics", version.ref = "firebaseCrashlytics" } [plugins] @@ -80,3 +84,5 @@ kotlin-compose = { id = "org.jetbrains.kotlin.plugin.compose", version.ref = "ko hilt = { id = "com.google.dagger.hilt.android", version.ref = "hilt" } ksp = { id = "com.google.devtools.ksp", version.ref = "ksp" } kotlin-serialization = { id = "org.jetbrains.kotlin.plugin.serialization", version.ref = "kotlin" } +google-gms-google-services = { id = "com.google.gms.google-services", version.ref = "googleGmsGoogleServices" } +google-firebase-crashlytics = { id = "com.google.firebase.crashlytics", version.ref = "googleFirebaseCrashlytics" }