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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[馃悰] On the ios platform, the video may be rotated, causing the width and height values of the video to be obtained incorrectly. #2265

Open
AsteriskZuo opened this issue Jan 16, 2024 · 0 comments

Comments

@AsteriskZuo
Copy link

Description

Reproduction is very simple, no complicated conditions.
Use a mobile phone with ios17 system to record video, use launchImageLibrary to obtain the video, and print the log through the sample code of react-native-image-picker to see the width and height value errors. Through the underlying ios code, you can see that the video is rotated 90 degrees. This is what causes the problem.

How to repeat issue and example

  1. Use ios17 to record video.
  2. Get video attributes.
  3. Debug ios to view attribute values.

Solution

What needs to be done to address this issue?

pr.

Additional Information

  • Image Picker version: [latest commit #dc6c7b9d9c683a60f0d9d3da54423f2f87a398b3]
  • React Native version: [0.71.11]
  • Platform: [FILL THIS OUT: iOS]
  • Development Operating System: [FILL THIS OUT: Are you developing on MacOS]
  • Dev tools: [FILL THIS OUT: Xcode ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant