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
I reviewed the source code and found that the mirrorFrontCamera parameter is not being used. Therefore, setting the mirrorFrontCamera parameter has no effect.
According to the documentation, the setMirrorFrontCamera method can be called through the state to set the front camera mirror. However, I cannot find how to call the setMirrorFrontCamera method!
Then I reviewed the source code regarding the implementation of setMirrorFrontCamera, and now I know how to call this method.
First, you need to import the package:
import'package:camerawesome/pigeon.dart';
Then you can call the method:
// Assuming you have a reference to the state object
CameraInterface().setMirrorFrontCamera(false);
It works on my iPhone, I hope this can be helpful to you!
Steps to Reproduce
mirrorFrontCamera:true and Sensor.position(SensorPosition.back) ,turn iPhone left or right ,preview screen is reverse
iOS is Error ,Android is ok
The text was updated successfully, but these errors were encountered: