Skip to content

[camera] Coordinates set by setFocusPoint and setExposurePoint are only valid in a single orientation. #86468

@BeMacized

Description

@BeMacized

As of right now, the setFocusPoint and setExposurePoint methods in the camera plugin do not correctly rotate the supplied coordinates according to the UI orientation, causing them to only show correct behaviour in one orientation. For Android this is landscape left, on iOS portrait up. This can be reproduced by running the example app in any other orientation, as it can be seen the camera will focus somewhere other than where the preview widget was tapped. (Be sure to lock the autofocus first on Android)

Metadata

Metadata

Assignees

Labels

P2Important issues not at the top of the work listp: cameraThe camera pluginpackageflutter/packages repository. See also p: labels.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions