Open
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
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
To do