-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed
flutter/packages
#9097Labels
P1High-priority issues at the top of the work listHigh-priority issues at the top of the work listp: cameraThe camera pluginThe camera pluginpackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.platform-androidAndroid applications specificallyAndroid applications specificallyteam-androidOwned by Android platform teamOwned by Android platform teamtriaged-androidTriaged by Android platform teamTriaged by Android platform team
Description
The preview rotation for devices that are naturally landscape-oriented is incorrect, as the plugin seems to assume that the device is naturally oriented in portrait up. See #154241 (comment) for an example of this behavior (cc @kylehayes, the reporter).
If this assumption is baked into the CameraPreview widget, then the logic used to correct the camera preview will need to be modified to account for it; otherwise, if it is baked in the camera preview rotation logic itself, it needs to be corrected.
I believe this has been broken as long as the camera_android_camerax plugin has lived (#149177; I thought I fixed it previously, but that fix has since been re-written and a new one will need to be implemented).
waslost0, InspectlyMads, kylehayes, toricor, sononurse-olivares471 and 1 morekylehayes and Mindohyeon
Metadata
Metadata
Assignees
Labels
P1High-priority issues at the top of the work listHigh-priority issues at the top of the work listp: cameraThe camera pluginThe camera pluginpackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.platform-androidAndroid applications specificallyAndroid applications specificallyteam-androidOwned by Android platform teamOwned by Android platform teamtriaged-androidTriaged by Android platform teamTriaged by Android platform team