Hi,
I am using Zxing.Mobile barcode for scanning and setting Autorotate option to false. But on click of Cancel button in camera it restarts the application in Higher versions(Android 5.1.0).
My code is :
var result = await scanner.Scan(new MobileBarcodeScanningOptions
{
AutoRotate = false
});
if (result != null)
{
_scan.Text = result.Text.ToString();
}
else
{
_scan.Text=string.Empty;
// scanner.Cancel();
}
Thanks in Advance.