I am using zxing to scan barcodes, zxing is not working as well as I would like. Requires scanning with external QRbot app. I run QRbot from the app, but I don't know how to get the response, after scanning, the URL opens. How to get value? (Google translate). QRbot Documentation https://ioshelp.qrbot.net/xcallback
private async void btn_zxing_Clicked(object sender, EventArgs e) // scan zxing
{
var scan = new ZXingScannerPage();
await Navigation.PushAsync(scan);
scan.OnScanResult += (result) =>
{
Device.BeginInvokeOnMainThread(async () =>
{
await Navigation.PopAsync();
searchInfo(result.ToString());
});
};
}
Launching QRbot, I don't know how to get the Barcode.
private async void QRbot_Clicked(object sender, EventArgs e)
{
Uri uri = new Uri("https://qrbot.net/x-callback-url/scan?x-success=https%3A%2F%2Fyourwebsite.com");
await Browser.OpenAsync(uri, BrowserLaunchMode.SystemPreferred);
}