You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem?
During the shooting process, the system direction was locked, the phone turned 90 degrees, and the generated image remained vertical, which was not a good experience.
Describe the solution you'd like
I am trying to modify your plugin by adding a gyroscope. Based on the x, y, and z coordinates returned by the gyroscope, I can determine whether the phone is currently on a horizontal or vertical screen and has achieved the initial effect. Switching between horizontal and vertical screens on iOS phones can cause serious problems. With my current abilities, I am unable to optimize the iOS side, but it meets the basic requirements of Android. Can you try optimizing or developing it?
Describe alternatives you've considered
I use a gyroscope and RotatedBox layout to rotate the camera
Additional context
Using a gyroscope, add a RotatedBox layout outside of CameraPreview, and use the x, y, and z coordinate systems returned by the gyroscope to determine whether the screen is vertical or horizontal. The horizontal screen should be rotated 90 degrees clockwise or counterclockwise.
The text was updated successfully, but these errors were encountered:
Version information
Is your feature request related to a problem?
During the shooting process, the system direction was locked, the phone turned 90 degrees, and the generated image remained vertical, which was not a good experience.
Describe the solution you'd like
I am trying to modify your plugin by adding a gyroscope. Based on the x, y, and z coordinates returned by the gyroscope, I can determine whether the phone is currently on a horizontal or vertical screen and has achieved the initial effect. Switching between horizontal and vertical screens on iOS phones can cause serious problems. With my current abilities, I am unable to optimize the iOS side, but it meets the basic requirements of Android. Can you try optimizing or developing it?
Describe alternatives you've considered
I use a gyroscope and RotatedBox layout to rotate the camera
Additional context
Using a gyroscope, add a RotatedBox layout outside of CameraPreview, and use the x, y, and z coordinate systems returned by the gyroscope to determine whether the screen is vertical or horizontal. The horizontal screen should be rotated 90 degrees clockwise or counterclockwise.
The text was updated successfully, but these errors were encountered: