-
Notifications
You must be signed in to change notification settings - Fork 0
feat(web): add web implementation for takePhoto and chooseFromGallery #15
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
Merged
alexgerardojacinto
merged 30 commits into
feat/RMET-4099/camera-unification
from
feat/RMET-5029/update-web
Mar 26, 2026
Merged
Changes from all commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
69cdaf6
feat: add web implementation for takePhoto and chooseFromGallery
alexgerardojacinto fda773f
Merge branch 'feat/RMET-4099/camera-unification' into feat/RMET-5029/…
OS-pedrogustavobilro 6f2504b
feat: get resolution for images and videos
alexgerardojacinto ce960fe
refactor: remove redundant assign
alexgerardojacinto 96e5abf
fix: use rear camera as default
alexgerardojacinto a05e1df
feat: add size, creationDate, and duration to new Web functions
alexgerardojacinto ebdf7ae
fix: remove limit parameter from Web
alexgerardojacinto 8db1dbd
fix: add thumbnail to chooseFromGallery, for both images and videos
alexgerardojacinto 99f89c5
refactor: remove duplicated code
alexgerardojacinto 5463939
feat: use includeMetadata for takePhoto and chooseFromGallery on Web
alexgerardojacinto db31e98
fix: show photos on older methods when resultType base64 or dataUrl
OS-ruimoreiramendes 8b0f1c5
refactor: avoid code duplication and improve event listeners
alexgerardojacinto 0f4c9f3
chore(android): update Android bridge with new lib version
alexgerardojacinto d0d2a6f
chore: remove redundant doc
alexgerardojacinto 6573fec
chore: update docs
alexgerardojacinto 2ca8617
chore: update docs
alexgerardojacinto aeaadff
chore: update src/definitions.ts
alexgerardojacinto 8998b2c
refactor: make Photo.saved optional like other parameters (e.g. exif)
alexgerardojacinto 8e3f565
refactor: make MediaMetadata.resolution optional
alexgerardojacinto 92ede10
refactor: remove duplicated code
alexgerardojacinto 6772ebc
refactor: avoid returning 0 resolution
alexgerardojacinto 2e37fc9
fix: always return video thumbnail
alexgerardojacinto 17525f6
fix: remove resolution from if condition
alexgerardojacinto 02bd832
chore: run prettier to fix lint issues
alexgerardojacinto 404acce
fix: revert previous commit and keep Photo API as it was
alexgerardojacinto c2e8dd1
test: test commit
alexgerardojacinto caeff57
chore(example-app): Remove `webUseInput` for chooseFromGallery
OS-pedrogustavobilro dac03f1
chore(example-app): Minor notice for MediaHistoryPage in PWA
OS-pedrogustavobilro 933a66a
chore(example-app): Show thumbnail from plugin on video
OS-pedrogustavobilro 09f2bd4
Revert "test: test commit"
alexgerardojacinto File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.