-
Notifications
You must be signed in to change notification settings - Fork 424
fix(storage-resize-images): add missing recordStartEvent call #2546
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
base: next
Are you sure you want to change the base?
fix(storage-resize-images): add missing recordStartEvent call #2546
Conversation
HassanBahati
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @tad3j, thank you for working on this Pull Request 👏
Can you please make the changed below;
- Please update CHANGELOG.md to reflect what has changed.
- Please bump the extension version in extension.yaml
- Can you please move the event trigger to generateResizedImage function
Cheers!
e02bd62 to
abb9f75
Compare
Hey @HassanBahati . Updated md and yml files as requested and moved event call to parent function. Notice that I also changed the argument (only passing object without sending name twice) and added await. |
|
Btw, with change above onStart event fires even if |
|
Hey @tad3j that's a good point. The description of this particular event in the extension.yaml implies it is fired every time the function executes, but this is probably less useful here. We will double check with the Firebase Extensions team to get their opinion on this. I can think of three options:
|
My use-case is cleanup before resize: |
Fixes issue #2545