Open AndreaGobs opened 3 years ago
ZXing.Net.Mobile & ZXing.Net.Mobile.Forms 3.0.0-beta5
Does it work in 2.4.x stable version?
Does it work in 2.4.x stable version?
I tried before to upgrade to 3.0.0-beta5. In Android also the stable version works for me with the options above, but not on iOS
I tried before to upgrade to 3.0.0-beta5
I didn't ask about 3.x, you already said you were using this version.
In Android also the stable version works for me, but not on iOS
So the bug is in both stable and beta, right?
Yes
I have the same issue with same versions of iOS as above. Tried latest stable and beta versions and works fine in Android but not iOS. The camera works but the QRCode never is read in iOS. But perfect in Android.
@chuckgiddens, this is still an issue. I'm trying out the samples provided but no luck on iOS devices. Creating another issue to bump.
Meanwhile, my personal solution: xamarin forms scanner
Below is the working code for an Android QR scanner. In iOS I tried different combinations of AutoRotate, TryHarder, TryInverted, DelayBetweenContinuousScans and DelayBetweenAnalyzingFrames but with no result. Removing the QR_CODE format from options, iOS is able to scan eg EAN_13 but never QR_CODE.
Page view:
<Grid> <zxing:ZXingScannerView x:Name="zxing" HorizontalOptions="FillAndExpand" VerticalOptions="FillAndExpand" OnScanResult="zxing_OnScanResult"/> <zxing:ZXingDefaultOverlay x:Name="overlay" TopText = "Hold your phone up to the barcode" BottomText = "Scanning will happen automatically" ShowFlashButton="True" FlashButtonClicked="overlay_FlashButtonClicked"/> </Grid>
Page code: `[XamlCompilation(XamlCompilationOptions.Compile)] public partial class PageScan : ContentPage { public PageScan() { InitializeComponent(); }
}`
iOS version of my iPhone7 13.3.1 Xamarin.Forms 4.8 Xamarin.Essentials 1.5 ZXing.Net.Mobile & ZXing.Net.Mobile.Forms 3.0.0-beta5
Any suggestions?