File tree Expand file tree Collapse file tree 5 files changed +5
-1
lines changed
firebase-auth/src/androidMain/kotlin/dev/gitlive/firebase/auth
firebase-database/src/androidMain/kotlin/dev/gitlive/firebase/database
androidMain/kotlin/dev/gitlive/firebase/firestore
iosMain/kotlin/dev/gitlive/firebase/firestore
firebase-functions/src/androidMain/kotlin/dev/gitlive/firebase/functions Expand file tree Collapse file tree 5 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ import dev.gitlive.firebase.Firebase
9
9
import dev.gitlive.firebase.FirebaseApp
10
10
import kotlinx.coroutines.channels.awaitClose
11
11
import kotlinx.coroutines.flow.callbackFlow
12
+ import kotlinx.coroutines.tasks.await
12
13
13
14
actual val Firebase .auth
14
15
get() = FirebaseAuth (com.google.firebase.auth.FirebaseAuth .getInstance())
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ import dev.gitlive.firebase.FirebaseApp
14
14
import dev.gitlive.firebase.database.ChildEvent.Type
15
15
import dev.gitlive.firebase.decode
16
16
import kotlinx.coroutines.channels.awaitClose
17
+ import kotlinx.coroutines.coroutineScope
17
18
import kotlinx.coroutines.flow.callbackFlow
18
19
import kotlinx.coroutines.flow.filter
19
20
import kotlinx.coroutines.flow.produceIn
Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ import dev.gitlive.firebase.encode
13
13
import kotlinx.coroutines.channels.awaitClose
14
14
import kotlinx.coroutines.flow.callbackFlow
15
15
import kotlinx.coroutines.runBlocking
16
+ import kotlinx.coroutines.tasks.await
16
17
import kotlinx.serialization.DeserializationStrategy
17
18
import kotlinx.serialization.SerializationStrategy
18
19
Original file line number Diff line number Diff line change 5
5
package dev.gitlive.firebase.firestore
6
6
7
7
import cocoapods.FirebaseFirestore.*
8
- import dev.teamhub .firebase.*
8
+ import dev.gitlive .firebase.*
9
9
import kotlinx.cinterop.*
10
10
import kotlinx.coroutines.CompletableDeferred
11
11
import kotlinx.coroutines.channels.awaitClose
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ import dev.gitlive.firebase.Firebase
8
8
import dev.gitlive.firebase.FirebaseApp
9
9
import dev.gitlive.firebase.decode
10
10
import dev.gitlive.firebase.encode
11
+ import kotlinx.coroutines.tasks.await
11
12
import kotlinx.serialization.DeserializationStrategy
12
13
import kotlinx.serialization.SerializationStrategy
13
14
import java.util.concurrent.TimeUnit
You can’t perform that action at this time.
0 commit comments