Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updated Firebase SDKs #252

Merged
merged 4 commits into from
Dec 13, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ buildscript {
}
}
dependencies {
classpath("com.android.tools.build:gradle:7.0.1")
classpath("com.android.tools.build:gradle:7.0.3")
classpath("com.adarshr:gradle-test-logger-plugin:2.1.1")
}
}

val targetSdkVersion by extra(30)
val minSdkVersion by extra(16)
val minSdkVersion by extra(19)

tasks {
val updateVersions by registering {
Expand Down Expand Up @@ -196,7 +196,7 @@ subprojects {
dependencies {
"commonMainImplementation"("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.5.2")
"androidMainImplementation"("org.jetbrains.kotlinx:kotlinx-coroutines-play-services:1.5.2")
"androidMainImplementation"(platform("com.google.firebase:firebase-bom:28.4.1"))
"androidMainImplementation"(platform("com.google.firebase:firebase-bom:29.0.0"))
"commonTestImplementation"(kotlin("test-common"))
"commonTestImplementation"(kotlin("test-annotations-common"))
"commonTestImplementation"("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.5.2")
Expand Down
2 changes: 1 addition & 1 deletion firebase-app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ kotlin {

val androidMain by getting {
dependencies {
api("com.google.firebase:firebase-common-ktx")
api("com.google.firebase:firebase-common")
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ actual fun runTest(test: suspend () -> Unit) = GlobalScope
try {
test()
} catch (e: dynamic) {
e.log()
(e as? Throwable)?.log()
throw e
}
}.asDynamic()
Expand Down
2 changes: 1 addition & 1 deletion firebase-app/src/nativeInterop/cinterop/Cartfile
Original file line number Diff line number Diff line change
@@ -1 +1 @@
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseAnalyticsBinary.json" == 8.8.0
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseAnalyticsBinary.json" == 8.9.1
2 changes: 1 addition & 1 deletion firebase-auth/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ kotlin {

val androidMain by getting {
dependencies {
api("com.google.firebase:firebase-auth-ktx")
api("com.google.firebase:firebase-auth")
}
}

Expand Down
2 changes: 1 addition & 1 deletion firebase-auth/src/nativeInterop/cinterop/Cartfile
Original file line number Diff line number Diff line change
@@ -1 +1 @@
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseAuthBinary.json" == 8.8.0
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseAuthBinary.json" == 8.9.1
2 changes: 1 addition & 1 deletion firebase-common/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ kotlin {

val androidMain by getting {
dependencies {
api("com.google.firebase:firebase-common-ktx")
api("com.google.firebase:firebase-common")
}
}

Expand Down
2 changes: 1 addition & 1 deletion firebase-config/src/nativeInterop/cinterop/Cartfile
Original file line number Diff line number Diff line change
@@ -1 +1 @@
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseRemoteConfigBinary.json" == 8.8.0
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseRemoteConfigBinary.json" == 8.9.1
2 changes: 1 addition & 1 deletion firebase-database/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ kotlin {

val androidMain by getting {
dependencies {
api("com.google.firebase:firebase-database-ktx")
api("com.google.firebase:firebase-database")
}
}

Expand Down
2 changes: 1 addition & 1 deletion firebase-database/src/nativeInterop/cinterop/Cartfile
Original file line number Diff line number Diff line change
@@ -1 +1 @@
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseDatabaseBinary.json" == 8.8.0
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseDatabaseBinary.json" == 8.9.1
2 changes: 1 addition & 1 deletion firebase-firestore/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ kotlin {

val androidMain by getting {
dependencies {
api("com.google.firebase:firebase-firestore-ktx")
api("com.google.firebase:firebase-firestore")
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ actual fun runTest(test: suspend CoroutineScope.() -> Unit) = GlobalScope
.promise {
try {
test()
} catch (e: Throwable) {
e.log()
} catch (e: dynamic) {
(e as? Throwable)?.log()
throw e
}
}.asDynamic()
Expand Down
2 changes: 1 addition & 1 deletion firebase-firestore/src/nativeInterop/cinterop/Cartfile
Original file line number Diff line number Diff line change
@@ -1 +1 @@
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseFirestoreBinary.json" == 8.8.0
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseFirestoreBinary.json" == 8.9.1
2 changes: 1 addition & 1 deletion firebase-functions/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ kotlin {

val androidMain by getting {
dependencies {
api("com.google.firebase:firebase-functions-ktx")
api("com.google.firebase:firebase-functions")
}
}

Expand Down
2 changes: 1 addition & 1 deletion firebase-functions/src/nativeInterop/cinterop/Cartfile
Original file line number Diff line number Diff line change
@@ -1 +1 @@
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseFunctionsBinary.json" == 8.8.0
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseFunctionsBinary.json" == 8.9.1