Skip to content
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

feat(storage): add file metadata during upload #506

Closed
3 of 12 tasks
robingenz opened this issue Dec 6, 2023 · 3 comments · Fixed by #514
Closed
3 of 12 tasks

feat(storage): add file metadata during upload #506

robingenz opened this issue Dec 6, 2023 · 3 comments · Fixed by #514

Comments

@robingenz
Copy link
Member

robingenz commented Dec 6, 2023

Plugin(s)

  • Analytics
  • App
  • App Check
  • Authentication
  • Crashlytics
  • Cloud Firestore
  • Cloud Messaging
  • Cloud Storage
  • Performance
  • Remote Config

Current problem

It is currently not possible to add file metadata during upload. It is only possible to call the updateMetadata(...) method after the upload.

Preferred solution

It should be possible to add metadata during the upload of a file, see https://firebase.google.com/docs/storage/web/upload-files#add_file_metadata.
This should be supported on Android, iOS and Web.

Alternative options

No response

Additional context

I am setting a bounty of $50 on this issue.

The base branch to be used is feat/issue-506. This branch already contains the necessary type definitions (see #514).

Before submitting

@triyam
Copy link

triyam commented Dec 6, 2023

/attempt #506

@triyam
Copy link

triyam commented Dec 6, 2023

I recommend to make the changes in the definitions.ts file first and let me review them before starting with the actual implementation.

As you have told, let me know should I move ahead.

I am new open-source, any mistake correction or guidance will be a great help

@robingenz
Copy link
Member Author

@triyam See #505 (comment)

The bounty is still available.

@robingenz robingenz self-assigned this Dec 7, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants