xamarin.forms - Zxing is not supoorting this qr code. Its not able to scan the qr code
问题描述
I have implemented the Zxing but it does not scans with this qr code. Can anyone please suggest how to go for it.enter image description here
This is the code for the viewmodel that I have used.-
private async void OnIndicatorScreenUsingScanClicked(object obj) {
ZXingScannerPage scanPage = new ZXingScannerPage();
scanPage.OnScanResult += (result) =>
{
Con = result.Text;
scanPage.IsScanning = true;
Device.BeginInvokeOnMainThread(async () =>
{
await (Application.Current.MainPage as MasterDetailPage).Detail.Navigation.PopAsync();
await OnIndicatorScreenClicked("");
});
};
await (Application.Current.MainPage as MasterDetailPage).Detail.Navigation.PushAsync(scanPage);
}
}
解决方案
推荐阅读
- regex - Twitch 剪辑正则表达式
- java - 如果我们在 executorService 中传递线程在 Java 多线程中执行调用会发生什么
- adaptive-cards - 如何通过 Action.Http 获取 TextBlock 文本?
- c# - 如何知道目录是否可写?
- android - 尝试通过 Android 设备通过 BLE + BT 连接到 iOS
- firebird - 无法在执行块中删除先前修改的新表
- android - findViewById() 方法在活动中如何工作?
- reactjs - 如何减少两个带有标签的复选框之间的垂直距离?
- laravel - 使用 Laravel Excel 将 xlsx 转换为 pdf
- javascript - ReactJS - 显示当前日期前 1 年的日期