Skip to content

Commit

Permalink
[camera] disable auto focus when using front facing camera on Android (
Browse files Browse the repository at this point in the history
…flutter#3383)

* Refactured Camera and fix issue front facing camera

* Update FPS range on Android to have correct brightness

* Formatted files

* Fix version conflict
  • Loading branch information
mvanbeusekom authored and adsonpleal committed Feb 26, 2021
1 parent a0a77b5 commit 441ea97
Show file tree
Hide file tree
Showing 3 changed files with 286 additions and 200 deletions.
4 changes: 4 additions & 0 deletions packages/camera/camera/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.6.4+3

* Detect if selected camera supports auto focus and act accordingly on Android. This solves a problem where front facing cameras are not capturing the picture because auto focus is not supported.

## 0.6.4+2

* Set ImageStreamReader listener to null to prevent stale images when streaming images.
Expand Down
Loading

0 comments on commit 441ea97

Please sign in to comment.