Exemplo n.º 1
0
        private async Task ScanAsync()
        {
            var scanner = new ZXing.Mobile.MobileBarcodeScanner();

            var result = await scanner.Scan();

            if (result != null)
            {
                AppProperties.SetToken(result.ToString());
                await NavService.NavigateToViewModel <MapPageViewModel>(false);
            }
        }