Skip to content

Commit 8efeec9

Browse files
committed
updated Firebase SDKs, fixed one missing -ktx dependency, fixed wrong version of firebase npm dependency in gradle
1 parent 9ce9222 commit 8efeec9

File tree

11 files changed

+14
-14
lines changed

11 files changed

+14
-14
lines changed

build.gradle.kts

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ buildscript {
1717
}
1818
}
1919
dependencies {
20-
classpath("com.android.tools.build:gradle:7.0.1")
20+
classpath("com.android.tools.build:gradle:7.0.3")
2121
classpath("com.adarshr:gradle-test-logger-plugin:2.1.1")
2222
}
2323
}
@@ -197,7 +197,7 @@ subprojects {
197197
dependencies {
198198
"commonMainImplementation"("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.5.2")
199199
"androidMainImplementation"("org.jetbrains.kotlinx:kotlinx-coroutines-play-services:1.5.2")
200-
"androidMainImplementation"(platform("com.google.firebase:firebase-bom:28.4.1"))
200+
"androidMainImplementation"(platform("com.google.firebase:firebase-bom:29.0.0"))
201201
"commonTestImplementation"(kotlin("test-common"))
202202
"commonTestImplementation"(kotlin("test-annotations-common"))
203203
"commonTestImplementation"("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.5.2")
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseAnalyticsBinary.json" == 8.8.0
1+
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseAnalyticsBinary.json" == 8.9.1

firebase-auth/src/jsTest/kotlin/dev/gitlive/firebase/auth/auth.kt

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ actual fun runTest(test: suspend () -> Unit) = GlobalScope
1515
.promise {
1616
try {
1717
test()
18-
} catch (e: dynamic) {
19-
(e as? Throwable)?.log()
18+
} catch (e: Throwable) {
19+
e.log()
2020
throw e
2121
}
2222
}.asDynamic()
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseAuthBinary.json" == 8.8.0
1+
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseAuthBinary.json" == 8.9.1

firebase-common/build.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ kotlin {
108108

109109
val jsMain by getting {
110110
dependencies {
111-
api(npm("firebase", "8.7.1"))
111+
api(npm("firebase", "8.10.0"))
112112
}
113113
}
114114
}

firebase-config/build.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ kotlin {
143143

144144
val androidMain by getting {
145145
dependencies {
146-
api("com.google.firebase:firebase-config")
146+
api("com.google.firebase:firebase-config-ktx")
147147
}
148148
}
149149

firebase-config/src/jsTest/kotlin/dev/gitlive/firebase/remoteconfig/FirebaseRemoteConfig.kt

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ actual fun runTest(test: suspend () -> Unit) = GlobalScope
99
.promise {
1010
try {
1111
test()
12-
} catch (e: dynamic) {
13-
(e as? Throwable)?.log()
12+
} catch (e: Throwable) {
13+
e.log()
1414
throw e
1515
}
1616
}.asDynamic()
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseRemoteConfigBinary.json" == 8.8.0
1+
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseRemoteConfigBinary.json" == 8.9.1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseDatabaseBinary.json" == 8.8.0
1+
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseDatabaseBinary.json" == 8.9.1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseFirestoreBinary.json" == 8.8.0
1+
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseFirestoreBinary.json" == 8.9.1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseFunctionsBinary.json" == 8.8.0
1+
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseFunctionsBinary.json" == 8.9.1

0 commit comments

Comments
 (0)