Open sachinbpatil619 opened 1 year ago
steps to reproduce the issue:
the same steps I tried in android it is working fine
Code: void _onQRViewCreated(QRViewController controller) { this.controller = controller; controller.resumeCamera(); controller.scannedDataStream.listen((scanData) { Vibrate.vibrate(); this.controller!.pauseCamera(); Future.delayed(const Duration(seconds: 2), () { _saveBarcodeDataInDatabase(scanData.code); this.controller!.resumeCamera(); }); }); }
void _onQRViewCreated(QRViewController controller) {
this.controller = controller;
controller.resumeCamera();
controller.scannedDataStream.listen((scanData) {
Vibrate.vibrate();
this.controller!.pauseCamera();
Future.delayed(const Duration(seconds: 2), () {
_saveBarcodeDataInDatabase(scanData.code);
this.controller!.resumeCamera();
});
}
flash not working properly in IOS
steps to reproduce the issue:
the same steps I tried in android it is working fine
Code:
void _onQRViewCreated(QRViewController controller) {
this.controller = controller;
controller.resumeCamera();
controller.scannedDataStream.listen((scanData) {
Vibrate.vibrate();
this.controller!.pauseCamera();
Future.delayed(const Duration(seconds: 2), () {
_saveBarcodeDataInDatabase(scanData.code);
this.controller!.resumeCamera();
});
});
}