Skip to content

Commit ae90c6d

Browse files
suntrixnbransby
andauthored
updated dependencies, added setSettings() / disableNetwork() / enableNetwork() to FirebaseFirestore (#138)
* updated dependencies, added setSettings() / disableNetwork() / enableNetwork() to FirebaseFirestore * PR feedback * rename settings back to setSettings * handle when sslEnabled is false correctly Co-authored-by: nbransby <[email protected]>
1 parent 9558271 commit ae90c6d

File tree

23 files changed

+83
-47
lines changed

23 files changed

+83
-47
lines changed

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ buildscript {
1919
}
2020
}
2121
dependencies {
22-
classpath("com.android.tools.build:gradle:4.0.2")
22+
classpath("com.android.tools.build:gradle:4.1.1")
2323
classpath("de.undercouch:gradle-download-task:4.1.1")
2424
classpath("com.adarshr:gradle-test-logger-plugin:2.0.0")
2525
}

firebase-app/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ kotlin {
6868
}
6969
val androidMain by getting {
7070
dependencies {
71-
api("com.google.firebase:firebase-common:19.4.0")
71+
api("com.google.firebase:firebase-common:19.5.0")
7272
}
7373
}
7474

firebase-app/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
},
2424
"homepage": "https://github.com/GitLiveApp/firebase-kotlin-sdk",
2525
"dependencies": {
26-
"@gitlive/firebase-common": "1.1.0",
27-
"firebase": "8.2.0",
26+
"@gitlive/firebase-common": "1.2.0",
27+
"firebase": "8.2.3",
2828
"kotlin": "1.4.21",
2929
"kotlinx-coroutines-core": "1.4.2"
3030
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseAnalyticsBinary.json" == 7.3.0
1+
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseAnalyticsBinary.json" == 7.4.0

firebase-auth/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ kotlin {
102102

103103
val androidMain by getting {
104104
dependencies {
105-
api("com.google.firebase:firebase-auth:20.0.1")
105+
api("com.google.firebase:firebase-auth:20.0.2")
106106
}
107107
}
108108

firebase-auth/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
},
2424
"homepage": "https://github.com/GitLiveApp/firebase-kotlin-sdk",
2525
"dependencies": {
26-
"@gitlive/firebase-app": "1.1.0",
27-
"firebase": "8.2.0",
26+
"@gitlive/firebase-app": "1.2.0",
27+
"firebase": "8.2.3",
2828
"kotlin": "1.4.21",
2929
"kotlinx-coroutines-core": "1.4.2"
3030
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseAuthBinary.json" == 7.3.0
1+
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseAuthBinary.json" == 7.4.0

firebase-common/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ kotlin {
6868
}
6969
val androidMain by getting {
7070
dependencies {
71-
api("com.google.firebase:firebase-common:19.4.0")
71+
api("com.google.firebase:firebase-common:19.5.0")
7272
}
7373
}
7474
val jsMain by getting {

firebase-common/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
},
2424
"homepage": "https://github.com/GitLiveApp/firebase-kotlin-multiplatform-sdk",
2525
"dependencies": {
26-
"firebase": "8.2.0",
26+
"firebase": "8.2.3",
2727
"kotlin": "1.4.21",
2828
"kotlinx-coroutines-core": "1.4.2",
2929
"kotlinx-serialization-kotlinx-serialization-runtime": "1.0.1"

firebase-common/src/jsMain/kotlin/dev/gitlive/firebase/externals.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -344,6 +344,8 @@ external object firebase {
344344
fun enablePersistence(): Promise<Unit>
345345
fun clearPersistence(): Promise<Unit>
346346
fun useEmulator(host: String, port: Int)
347+
fun disableNetwork(): Promise<Unit>
348+
fun enableNetwork(): Promise<Unit>
347349
}
348350

349351
open class Timestamp {

0 commit comments

Comments
 (0)