Skip to content

Commit

Permalink
di + new google services json
Browse files Browse the repository at this point in the history
  • Loading branch information
binayshaw7777 committed Jan 3, 2025
1 parent 9755e49 commit 8e0baef
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 8 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@
.externalNativeBuild
.cxx
local.properties
google-services.json
8 changes: 8 additions & 0 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ plugins {
id ("androidx.navigation.safeargs.kotlin")
id ("com.google.firebase.crashlytics")
id ("kotlin-kapt")
id("com.google.dagger.hilt.android")
id ("com.google.firebase.firebase-perf")
}

Expand All @@ -25,6 +26,7 @@ android {

buildFeatures {
viewBinding = true
buildConfig = true
}

buildTypes {
Expand Down Expand Up @@ -71,6 +73,8 @@ dependencies {
testImplementation ("com.google.truth:truth:1.1.3")
androidTestImplementation ("androidx.test:runner:1.5.2")
androidTestImplementation ("androidx.test:rules:1.5.0")
androidTestImplementation ("com.google.dagger:hilt-android-testing:2.48")
kaptAndroidTest("com.google.dagger:hilt-android-compiler:2.48")


//Navigation
Expand Down Expand Up @@ -139,4 +143,8 @@ dependencies {

// In-app update
implementation ("com.google.android.play:core:1.10.3")

//DaggerHilt
implementation("com.google.dagger:hilt-android:2.48")
kapt("com.google.dagger:hilt-compiler:2.48")
}
15 changes: 7 additions & 8 deletions app/google-services.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,6 @@
}
},
"oauth_client": [
{
"client_id": "142637459628-u67hofek1bj0348v6lg6frs0llgei2tv.apps.googleusercontent.com",
"client_type": 1,
"android_info": {
"package_name": "com.binay.shaw.justap",
"certificate_hash": "a55e4867e32354cd2474df831f56db37aa5c6d56"
}
},
{
"client_id": "142637459628-7u4ere6j7qr84f9pa09qcgp4rt0deneo.apps.googleusercontent.com",
"client_type": 3
Expand All @@ -38,6 +30,13 @@
{
"client_id": "142637459628-7u4ere6j7qr84f9pa09qcgp4rt0deneo.apps.googleusercontent.com",
"client_type": 3
},
{
"client_id": "142637459628-e8tbnq5em1m960hg0r97u7tiuredi5u8.apps.googleusercontent.com",
"client_type": 2,
"ios_info": {
"bundle_id": "com.binayshaw7777.JusTap-iOS"
}
}
]
}
Expand Down
1 change: 1 addition & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,6 @@ plugins {
id ("com.android.application") version "7.4.0" apply false
id ("com.android.library") version "7.4.0" apply false
id ("org.jetbrains.kotlin.android") version "1.8.10" apply false
id ("com.google.dagger.hilt.android") version "2.48" apply false
id ("com.google.firebase.firebase-perf") version "1.4.2" apply false
}

0 comments on commit 8e0baef

Please sign in to comment.