From a0eabe980d8170bac162d44ae925946ab41c4c9d Mon Sep 17 00:00:00 2001 From: jiabaow Date: Sat, 23 Apr 2022 15:54:54 +0200 Subject: [PATCH] update firebase --- app/build.gradle | 4 ++-- .../main/java/ch/sdp/vibester/activity/ScoreBoardActivity.kt | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index eb73394ac..e4bc9985d 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -74,7 +74,7 @@ dependencies { implementation 'androidx.appcompat:appcompat:1.4.1' implementation 'com.google.android.material:material:1.5.0' implementation 'androidx.constraintlayout:constraintlayout:2.1.3' - implementation 'com.google.firebase:firebase-auth-ktx:21.0.1' + implementation 'com.google.firebase:firebase-auth-ktx:21.0.3' implementation 'com.squareup.okhttp3:okhttp:4.9.0' implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3.9' implementation 'com.squareup.retrofit2:retrofit:2.0.0' @@ -82,7 +82,7 @@ dependencies { implementation 'com.google.firebase:firebase-database-ktx' implementation 'com.google.firebase:firebase-storage-ktx' implementation 'junit:junit:4.13.2' - implementation 'com.google.firebase:firebase-firestore-ktx:24.0.2' + implementation 'com.google.firebase:firebase-firestore-ktx:24.1.1' testImplementation 'junit:junit:4.13.2' testImplementation 'org.json:json:20180813' testImplementation 'org.robolectric:robolectric:4.6' diff --git a/app/src/main/java/ch/sdp/vibester/activity/ScoreBoardActivity.kt b/app/src/main/java/ch/sdp/vibester/activity/ScoreBoardActivity.kt index dbff8357a..de6e7b4cb 100644 --- a/app/src/main/java/ch/sdp/vibester/activity/ScoreBoardActivity.kt +++ b/app/src/main/java/ch/sdp/vibester/activity/ScoreBoardActivity.kt @@ -51,8 +51,7 @@ class ScoreBoardActivity : AppCompatActivity() { } override fun onCancelled(error: DatabaseError) { - Log.w(ContentValues.TAG, "loadPlayers:onCancelled", error.toException()) - } + Log.w(ContentValues.TAG, "loadPlayers:onCancelled", error.toException()) } }) }