Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] 拍照时旋转屏幕,拍照内容也没有旋转 #210

Closed
XutongGithub opened this issue Oct 17, 2023 · 3 comments · Fixed by #218
Closed

[BUG] 拍照时旋转屏幕,拍照内容也没有旋转 #210

XutongGithub opened this issue Oct 17, 2023 · 3 comments · Fixed by #218
Labels
await investigate The issue is waiting for further investigation.

Comments

@XutongGithub
Copy link

Describe the bug
拍照时旋转屏幕,拍照内容也没有旋转

How to reproduce
AssetEntity? asset = await CameraPicker.pickFromCamera(
context,
pickerConfig: const CameraPickerConfig(
enableRecording: true,
maximumRecordingDuration: Duration(seconds: 120),
resolutionPreset: ResolutionPreset.veryHigh,
),
);
if (asset != null) {
_selectAssetFiles.add(SolicitFile(asset: asset, isCamera: true));
setState(() {});
}

Steps to reproduce the behavior:

打开相机,旋转屏幕

Expected behavior
拍照内容也跟着旋转

Screenshots (If contains)

Version information

  • Device: [e.g. iPhone mini]
  • OS: [e.g. iOS 14.7.1]
  • Package Version: [e.g. 4.0.2]
  • Flutter Version: [e.g. v3.10.6]

Additional context

@XutongGithub XutongGithub added the await investigate The issue is waiting for further investigation. label Oct 17, 2023
AlexV525 added a commit that referenced this issue Oct 30, 2023
@Brislis
Copy link

Brislis commented Dec 25, 2023

请问解决了吗

@XutongGithub
Copy link
Author

XutongGithub commented Dec 25, 2023 via email

@luqiuan
Copy link

luqiuan commented Jun 21, 2024

当iOS系统锁屏按钮关闭,此时拍照预览的时候横屏,预览页会异常,大佬们有遇到吗

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
await investigate The issue is waiting for further investigation.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants