File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed
androidMain/kotlin/dev/gitlive/firebase/storage
commonMain/kotlin/dev/gitlive/firebase/storage
iosMain/kotlin/dev/gitlive/firebase/storage
jsMain/kotlin/dev/gitlive/firebase/storage Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ actual class StorageReference(val android: com.google.firebase.storage.StorageRe
5959
6060 actual suspend fun getDownloadUrl (): String = android.downloadUrl.await().toString()
6161
62- actual fun putFile (file : File ): ProgressFlow {
62+ actual fun putFileResumable (file : File ): ProgressFlow {
6363 val android = android.putFile(file.uri)
6464
6565 val flow = callbackFlow {
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ expect class StorageReference {
3434
3535 suspend fun getDownloadUrl (): String
3636
37- fun putFile (file : File ): ProgressFlow
37+ fun putFileResumable (file : File ): ProgressFlow
3838
3939}
4040
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ actual class StorageReference(val ios: FIRStorageReference) {
6666 downloadURLWithCompletion(completion = it)
6767 }.absoluteString()!!
6868
69- actual fun putFile (file : File ): ProgressFlow {
69+ actual fun putFileResumable (file : File ): ProgressFlow {
7070 val ios = ios.putFile(file.url)
7171
7272 val flow = callbackFlow {
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ actual class StorageReference(val js: firebase.storage.Reference) {
5454
5555 actual suspend fun getDownloadUrl (): String = rethrow { js.getDownloadURL().await().toString() }
5656
57- actual fun putFile (file : File ): ProgressFlow = rethrow {
57+ actual fun putFileResumable (file : File ): ProgressFlow = rethrow {
5858 val uploadTask = js.put(file)
5959
6060 val flow = callbackFlow {
You can’t perform that action at this time.
0 commit comments