Native Barcode scanner

Jassim Al Rahma 1,521 Reputation points
2021-09-10T01:28:33.017+00:00

Hi,

Does anyone have a sample code for using the device barcode scanner in Xamarin Forms?

Thanks,
Jassim

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,291 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,203 questions
{count} votes

1 answer

Sort by: Most helpful
  1. P a u l 10,406 Reputation points
    2021-09-10T02:39:19.973+00:00

    It looks like the ZXing barcode scanner is the popular choice. Here's a repo with an example of how to integrate it into a Xamarin Forms app:
    https://github.com/jfversluis/XFScanBarcodeSample/

    There's also an accompanying YT video:
    https://www.youtube.com/watch?v=kwVtlT3E7fw

    0 comments No comments