-
Notifications
You must be signed in to change notification settings - Fork 185
feat: Android Camera v2 API #339
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
Open
dpa99c
wants to merge
61
commits into
capacitor-community:master
Choose a base branch
from
dpa99c:android_camera_v2
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 38 commits
Commits
Show all changes
61 commits
Select commit
Hold shift + click to select a range
2fc8acc
(build) change: use local plugin version for demo
b46053d
feat: implement getMaxZoom(), getZoom(), setZoom() for Android and iOS
dpa99c 4f4e6a7
(android) rework: use Camera2 API instead of legacy Camera API
dpa99c ec762ec
(ios) bugfix: fix calculation of x/y offsets to use hard-coded factor…
dpa99c 5b9d31d
Merge branch 'ios_fix_pixel_ratio'
dpa99c eb1d400
(android) add support for getMaxZoomLimit(), setMaxZoomLimit(), maxZo…
dpa99c a9d3a8b
(ios) add support for getMaxZoomLimit(), setMaxZoomLimit(), maxZoomLi…
49fe26b
Merge branch 'max_zoom_limit'
dpa99c 40c8806
(android) emit JS event when current zoom level changes
dpa99c b49d9c6
(ios) emit JS event when current zoom level changes
f73d89e
Merge branch 'events'
dpa99c 5083df6
(android) fix: apply device pixel ratio when calculating optimal prev…
dpa99c a92d431
(android) fix: apply device pixel ratio when calculating optimal prev…
dpa99c 5a5e47b
bugfix: don't try to restore previous orientation if it wasn't alread…
dpa99c 41bca94
Merge branch 'android_camera_v2'
dpa99c d0f639e
(android) remove unused imports
dpa99c cf74a41
(android) enhance robustness with try/catch; code cleanup
dpa99c a2c6e35
(android) improve robustness of onCreateView
dpa99c 9da391e
(android) fix: ensure all catch statements use generic Exception clas…
dpa99c 70e2de5
(android) Tighten up exception handling.
dpa99c d2d8954
bump dependencies to capacitor@6
dpa99c c78740a
(android) send error/log events to JS layer via window object
dpa99c a368c6f
(android) fix: structure of messages sent to window object as events
dpa99c 8545d42
(android) don't log error/log messages direct to JS console
dpa99c 60e39f4
(android) fix: sanitise log messages sent to JS window object to ensu…
dpa99c 3d8e04d
(android) if lockAndroidOrientation=true, ignore orientation changes …
dpa99c 8fb1799
(android) enhance robustness with try/catch; code cleanup
dpa99c 0b604f8
(android) improve robustness of onCreateView
dpa99c 7fd66ed
(android) fix: ensure all catch statements use generic Exception clas…
dpa99c 31d1a40
(android) Tighten up exception handling.
dpa99c 30442fb
bump dependencies to capacitor@6
dpa99c de00e2b
(android) send error/log events to JS layer via window object
dpa99c d10adb7
(android) fix: structure of messages sent to window object as events
dpa99c a3faeb3
(android) don't log error/log messages direct to JS console
dpa99c 4259020
(android) fix: sanitise log messages sent to JS window object to ensu…
dpa99c e8a217f
(android) if lockAndroidOrientation=true, ignore orientation changes …
dpa99c 5af4602
feat: Implements getMaxZoom(), getZoom() and setZoom() as per the Cor…
dpa99c d59b814
Merge branch 'master' into android_camera_v2
dpa99c da388bb
(android) bugfix: correct the orientation when saving JPG file when u…
dpa99c 40a123d
(android) bugfix: correct the orientation when saving JPG file when u…
dpa99c 8bae750
Merge branch 'upstream_master' in master
dpa99c 2e8a12c
fix merge error
dpa99c 6476c07
(android) Implement retry behaviour if configuration fails, as this c…
dpa99c 9742719
(android) Check if Camera2Api is fully supported, if not return an er…
dpa99c 3a25afc
(android) Add a timeout for opening the camera preview to try to prev…
dpa99c 772198a
(android) Include exception message in plugin call rejection message …
dpa99c 3473257
(android) feat: Implement Camera1Api as a fallback for Camera2Api on …
be0a0d1
(android) Camera1Api: Fix orientation of taken photos
d393b15
(android) feat: add getCamera2SupportLevel() plugin method
ae00475
(build) track dist/ so plugin can be installed directly from github repo
12b693d
(android) replace deprecated call.error() with call.reject()
6a3648f
(android) Better handing of Camera2Api support check
0a7db9f
(android) improvements
e51877b
(android) logging improvements, performance optimisations, robustness…
5502116
run `fmt` task to autolint code
21c0b21
(android) Harden camera lifecycle, capture guards, and preview/sessio…
1bf483a
(ios) Robustness fixes:
8a715b8
(android) Fix Camera2 TextureView behaviour to ensure correct aspect …
72e6ada
Merge branch 'master' into android_camera_v2
dpa99c d4a6b99
Merge branch 'upstream_master' into android_camera_v2
dpa99c 8864d9f
Address Copilot review comments
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
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.
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.