Open valera21115 opened 2 years ago
I'm facing the same issue
@valera21115 @manavgarg-cardbyte
For some reason when entering the page the default controller is pause(). Therefore you have to call controller.resumeCamera();
after onQRViewCreated.
And you don't have to call _cameraController!.pauseCamera();
in reassemble(). Because without using reassemble() I can still use hot reload.
I made that the scanner screen must be only in portrait orientation. When navigate to scanner screen from another in landscape mode, scanner doesn't work in any of orientation.
main.dart
scanner.dart