For some reason (only on some of the phones) my camera preview is rotated 90 degrees.
Device orientation utils on debug says the same thing for working and not working phones: D/CameraOrientationUtil(14552): getRelativeImageRotation: destRotationDegrees=0, sourceRotationDegrees=90, isOppositeFacing=true, result=90
Using camera: ^0.11.0+1
This is how I build a preview: Expanded(child: _cameraController!.buildPreview()),
Which results in:
when I take a pic tho, the rotation is fine:
I can rotate the view, but then “working” phones are rotated… If anybody has any ideas I’d really appreciate it.