Skip to content

The flutter_barcode_scanner library works on some devices, but not on others #378

@ypvaldivia88

Description

@ypvaldivia88

On older devices, the scanner opens but does not detect the barcode or QR code; it remains scanning indefinitely. I suspect the issue is related to the Android version.

To Reproduce Steps to reproduce the behavior:

Download and integrate the latest version of the flutter_barcode_scanner library.

Run the application on a device with an older version of Android (e.g., Android 12 or earlier).

Attempt to scan a standard barcode or QR code.

Observe that the scanner does not detect the code and remains in a scanning state indefinitely.

Expected behavior The scanner should be able to detect and process barcodes and QR codes across all compatible versions of Android.

Device: [Samsung Galaxy A51]

OS: [Android 12]

Additional context We have tested several devices with different versions of Android and it seems that the library works correctly from Android 13 onwards. On devices with earlier versions, the scanner does not detect barcodes or QR codes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions