firebase / firebase/firebase-android-sdk

Make task returned by delete() method in StorageReference class in Firebase Storage cancellable

Open
#1,268 2 comments 0 reactions 0 assignees View on GitHub
api: storage type: feature request
Dominant language
Java
Stars
2.6k
Forks
710
Avg merge
2d 9h
Merged PRs (30d)
31

Description

## What feature would you like to see?

Hi, would it be possible to make delete task in Firebase Storage cancellable the same way UploadTask is cancellable? At the moment delete() method returns abstract Task which is not possible to cancel.

## How would you use it?

In case there is no network connectivity and the user leaves activity where he/she wanted to perform deletion operation, I would like to cancel task in a similar fashion I cancel UploadTask before it gets executed by scheduler when network connection is back.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.