Skip to content

rxFire's storage fromTask can cancel uploads unexpectedly #1659

@jhuleatt

Description

@jhuleatt
  • Firebase SDK version: rxFire, latest
  • Firebase Product: storage

rxfire/storage's fromTask cancels uploads unexpectedly

expected behavior

using pipe(first()) or pipe(take(1)) on the fromTask observable lets me get the initial snapshot returned from the Storage upload task, but doesn't affect the upload itself.

actual behavior

using pipe(first()) or pipe(take(1)) on the fromTask cancels the UploadTask in its unsubscribe. This is problematic when using take or first on the observable, which automatically call the unsubscribe and therefore cancel the upload.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions