Skip to content

feat(web): add web implementation for takePhoto and chooseFromGallery#15

Merged
alexgerardojacinto merged 30 commits intofeat/RMET-4099/camera-unificationfrom
feat/RMET-5029/update-web
Mar 26, 2026
Merged

feat(web): add web implementation for takePhoto and chooseFromGallery#15
alexgerardojacinto merged 30 commits intofeat/RMET-4099/camera-unificationfrom
feat/RMET-5029/update-web

Conversation

@alexgerardojacinto
Copy link
Collaborator

Disclaimer: This code was generated by Claude.

Tested in Chrome.

Context: This code was generated by Claude.
Copy link
Contributor

@OS-pedrogustavobilro OS-pedrogustavobilro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Haven't gone to testing yet, just leaving comments on things that stood out to me.

@alexgerardojacinto
Copy link
Collaborator Author

@OS-pedrogustavobilro I think I addressed all your comments. I also update the code to use includeMetadata in Web as well, as it as simply always returning it and not using the parameter.

Copy link
Contributor

@OS-pedrogustavobilro OS-pedrogustavobilro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some of these comments are things that I noticed from the current code in feat/RMET-4099/camera-unification, that when seeing the Web implementation, maybe it should be tweaked.

Copy link

@OS-ruimoreiramendes OS-ruimoreiramendes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested in Chrome and everything seems to be working fine

Copy link
Contributor

@OS-pedrogustavobilro OS-pedrogustavobilro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few more comments in relation to this thread - #15 (comment) that was my bad, sorry

@alexgerardojacinto
Copy link
Collaborator Author

@OS-pedrogustavobilro no worries! I refactored it accordingly

Copy link
Contributor

@OS-pedrogustavobilro OS-pedrogustavobilro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested PWA with Android and iOS, everything seems to be working, picture, video and gifs!

I noticed some issues that are coming from PWA elements, but will write those down, since they are not specific to this PR.

This reverts commit c2e8dd1.
@alexgerardojacinto
Copy link
Collaborator Author

@OS-pedrogustavobilro thank you for adding those extra things to the example-app!

@alexgerardojacinto alexgerardojacinto merged commit 378c440 into feat/RMET-4099/camera-unification Mar 26, 2026
4 of 6 checks passed
@OS-ruimoreiramendes OS-ruimoreiramendes deleted the feat/RMET-5029/update-web branch March 26, 2026 12:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants