We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 93d88f4 commit 473e9baCopy full SHA for 473e9ba
firebase-firestore/src/iosMain/kotlin/dev/gitlive/firebase/firestore/firestore.kt
@@ -68,8 +68,9 @@ actual class FirebaseFirestore(val ios: FIRFirestore) {
68
69
actual fun useEmulator(host: String, port: Int) {
70
ios.useEmulatorWithHost(host, port.toLong())
71
- ios.settings = ios.settings.apply {
72
- cacheSettings = FIRMemoryCacheSettings()
+ settings = firestoreSettings(settings) {
+ this.host = "$host:$port"
73
+ cacheSettings = memoryCacheSettings { }
74
sslEnabled = false
75
}
76
0 commit comments