.NET MAUI Blazor POS App Freezing Issue when Using Physical Barcode Scanner on Android

Lasitha Lankajeewa 0 Reputation points
2023-09-25T10:06:55.7933333+00:00

I'm working on a Point of Sale (POS) application using .NET MAUI and Blazor, specifically targeting Android devices. Everything has been going well so far, but I've encountered a frustrating issue that's got me stumped.

Whenever I connect or disconnect a physical barcode scanner to my Android device while running the POS app, it freezes. The app becomes unresponsive, and I have to force close it and restart it to continue working. This happens both when I connect and disconnect the barcode scanner.

My Questions:

Has anyone else encountered a similar issue when using .NET MAUI and Blazor for Android development?

Are there any known compatibility issues with specific barcode scanner devices?

Any recommendations for debugging or profiling tools that might help pinpoint the problem?

I'd greatly appreciate any insights, advice, or suggestions you can provide. If you need more specific details about my code or setup, please let me know. Thanks in advance for your help!

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,551 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,376 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.