mono0926 / barcode_scan2

[reborned barcode_scan] A flutter plugin for reading 2D barcodes and QR codes.
https://pub.dev/packages/barcode_scan2
MIT License
87 stars 78 forks source link

[Bug] Buttons are not displayed on the camera screen #58

Open Vantir opened 2 years ago

Vantir commented 2 years ago

Hello, thank you for your work, the package is great!

Describe the bug

When opening the camera to scan a barcode, the camera screen appears in full screen without displaying any buttons. So it is not possible to cancel the scan or activate the flash.

To Reproduce

Steps to reproduce the behavior:

  1. Open the page example provided in the package.
  2. Click on the camera icon.
  3. The cancel and flash buttons do not appear.

Screenshots

Screenshot_20221109-170117

Environment (please complete the following information):

antiv commented 1 year ago

I have this issue when I build my flutter project to aar and use it from other android project. When I build apk, then it works properly.

On some device it shows as on Vantirs screenshot, on some there are empty space on top and bottom. Probably dependent of screen size.

Version of barcode_scan2: ^4.2.4 flutter: 3.7.7