Skip to content

Missing MobileBarcodeScanner.Scan() equivalent or the ability to show scanner from code behind #157

Description

@Manish-Pradhan-FP

In Xamarin Forms, we could easily trigger a Scanner simply by using Scan() and did not have to rely on creating our own view to embed this control. Is there a way I can achieve it currently or do I have to basically create my own XAML view and then embed the ScannerView ?

Previously this would work. I see no way of this now or am I missing something?
ZXing.Result scanResult = await MobileBarcodeScanner.Scan();

if (scanResult != null)
{
xxamTableSearchEntry.Text = scanResult.Text;
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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