You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 has putData and putFile on its public interface. putData won't work because an app extension has a 120MB memory limit and putFile doesn't work in app extensions.
How you propose the Firebase SDK should handle it
Under the hood, FirebaseStorage uses GTMSessionUploadFetcher to perform uploads. The GTMSessionUploadFetcher supports uploading from a number of data sources: data, file, file handle and data provider. I propose exposing the file handle capability to StorageReference (through StorageUploadTask).
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: