Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't read QR #195

Open
NiX3r opened this issue Aug 7, 2024 · 1 comment
Open

Can't read QR #195

NiX3r opened this issue Aug 7, 2024 · 1 comment

Comments

@NiX3r
Copy link

NiX3r commented Aug 7, 2024

Hey there 👋 ,
I've tried a lot of options to read QR in MAUI (Android, Windows, iOS).

I've done what is in readme in this project and read almost all issues open or closed.

When I start an app on Android everything loads up perfectly without any error. But when I point my camera to some QR it can't read. Even if I tried to move in or out. Tried different options. Only what I get is [MirrorManager] this model don't Support message in console when I point at QR.

Here's my code:

cameraBarcodeReaderView.Options = new ZXing.Net.Maui.BarcodeReaderOptions
{
    Formats = ZXing.Net.Maui.BarcodeFormats.All,
    AutoRotate = true,
    Multiple = false,
    TryInverted = true
};
cameraBarcodeReaderView.IsDetecting = true;
cameraBarcodeReaderView.BarcodesDetected += (_, args) =>
{
    Console.WriteLine("here");
};

In xaml:

<zxing:CameraBarcodeReaderView Grid.ColumnSpan="2"
    x:Name="cameraBarcodeReaderView"
    BarcodesDetected="BarcodeDetected" />

I calling another function to process QR - which is not important when it's never called

Thanks for any help guys 💪

@NiX3r
Copy link
Author

NiX3r commented Aug 7, 2024

Untitled 1
This is QR I'm trying to read. Simple string with 5 digits in it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant