Open stefanhk31 opened 4 years ago
If you go back to stable version 2.4.1, does the crash go away?
I circumvent this by considering the Scanner page a modal page, launched by whatever page needs to scan something, and closing it as soon as barcode is scanned. Parent/launching page interprets the barcode. (Version 2.4.1 and 3.1.0-beta2)
@knocte
In my case yes, the crash goes away in 2.4.1
, So I'm going to stick with the version. I didn't upload the crashlog in 3.1.0-beta2
since it's the same as @stefanhk31
At the end I removed a ScrollView
(that was a parent of the ZXingScannerView
) that It wasn't needed, and now it's working :)
Version: 3.0.0-beta5 Platform: Android 10/API 29
Scanner initialization (in code behind):
Scanner XAML:
<Frame x:Name="QrCodeScanner" BorderColor="{StaticResource BorderColor}"/>
When navigating to this particular page,
OnAppearing()
is called, then immediately after, I get the following exception:Here is the full stack trace/debug output:
Let me know if I can provide any further clarification on this.