-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FR]: Add FileHandle support to FirebaseStorage #12579
Comments
I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight. |
Extension support was added without adding the FileHandle APIs. See the discussion in #12580 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Description
Use Case
Upload a large (+100MB) file from a share extension.
How the Firebase SDK currently handles it
The Firebase SDK doesn't currently support uploading a large (+100MB) file from an app extension.
StorageReference
hasputData
andputFile
on its public interface.putData
won't work because an app extension has a 120MB memory limit andputFile
doesn't work in app extensions.How you propose the Firebase SDK should handle it
Under the hood,
FirebaseStorage
usesGTMSessionUploadFetcher
to perform uploads. TheGTMSessionUploadFetcher
supports uploading from a number of data sources: data, file, file handle and data provider. I propose exposing the file handle capability toStorageReference
(throughStorageUploadTask
).API Proposal
Firebase Product(s)
Firestore
The text was updated successfully, but these errors were encountered: