-
Notifications
You must be signed in to change notification settings - Fork 29.1k
Open
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work listfound in release: 2.6Found to occur in 2.6Found to occur in 2.6has reproducible stepsThe issue has been confirmed reproducible and is ready to work onThe issue has been confirmed reproducible and is ready to work onp: cameraThe camera pluginThe camera pluginpackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.platform-iosiOS applications specificallyiOS applications specificallyteam-iosOwned by iOS platform teamOwned by iOS platform teamtriaged-iosTriaged by iOS platform teamTriaged by iOS platform team
Description
After 0.9.0 there are a lot of orientation issues have been solved, but we still got a few.
Steps to Reproduce
- Run the example of the camera plugin.
- Lock the Auto rotate for the device.
- Take a new photo.
- (Optional) Run the example of the
wechat_camera_picker
plugin which is more clear about what happened.
Issues
- Unable to get the orientation during the rotation if the Auto rotate is locked in the system.
- Unable to get the orientation of the captured file.
- Preview is rotated with orientations even if the device is not support for those orientations on iOS.
🔘 Unable to get the orientation during the rotation if the Auto rotate is locked in the system.
We don't have the orientation stream exposed at present. _deviceOrientationSubscription
is a private StreamSubscription
.
🔘 Unable to get the orientation during the rotation if the Auto rotate is locked in the system.
Below screenshots are all taken with landscape:
Capture with rotated | Capture with rotated | Preview after captured |
---|---|---|
🔘 Preview is rotated with orientations even if the device is not support for those orientations on iOS
Orientations allowed by default are [portraitUp, landscapeLeft, landscapeRight]. When we trying to make the same behavior of rotations, iOS's preview was rotated even if the orientation (here is portraitDown) is not supported to rotated to. See the video for how they behave differently.
FD063897865DD91E8103EDC1B51949F9.mp4
stijnie2210, VictorUvarov, NickalasB, cosminbodnariuc, AlexPopaUpcode and 8 more
Metadata
Metadata
Assignees
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work listfound in release: 2.6Found to occur in 2.6Found to occur in 2.6has reproducible stepsThe issue has been confirmed reproducible and is ready to work onThe issue has been confirmed reproducible and is ready to work onp: cameraThe camera pluginThe camera pluginpackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.platform-iosiOS applications specificallyiOS applications specificallyteam-iosOwned by iOS platform teamOwned by iOS platform teamtriaged-iosTriaged by iOS platform teamTriaged by iOS platform team
Type
Projects
Status
To do