Closed alexgg94 closed 4 years ago
I'm having the same issue on iOS. I have not tested on any other platforms. Is there any update on this?
I Have the same problem !! Is there any solution ?? pleaseeee!!!
Hi! I have the same issue, but only on iOs versions 10+ On 8.4.1 it works like a charm
UPD: I found solution here: https://forums.xamarin.com/discussion/77721/zxingscannerview-does-not-work-anymore-in-ios-10
I had a similar issue on Android. Although the app was never killed before the scanner page was closed the camera wasn't released properly at some point. Therefore after another start of the app the camera service couldn't be accessed.
Have you tried "ZXing.Net.Mobile for Forms"? It's easer.
Folow the instructions in this link: https://components.xamarin.com/gettingstarted/zxing.net.mobile.forms
Thanks for reporting this issue! Unforunately it took me way too long to respond 😭. Sorry, I apologize! Recently the source code for this project was completely refactored to modernize it. Many PR's were included in this effort, and many bugs were hopefully fixed. Please try out the latest 3.x series of NuGet packages (currently in prerelease). To try and make the project more maintainable in my spare time going forward, I've decided to close all existing issues to start with a clean slate. If you're still experiencing this issue on the newest version, please open a new issue with as much detail as possible. Thank you for your patience and understanding! Happy scanning!
Hi everyone,
I have a Xamarin solution with Android, iOS and UWP projects. I am trying to use ZXing in order to read some barcodes but i found some problems.
This is the way I use it:
This is what i've done for each platform:
Android:
This works fine but, at some random? scanning, the screen gets black before the scanning starts, the application doesn't work any more and it has to be manually killed. As I kill the application manually, I don't have access to the camera any more until I reboot the device (I think that's because the camera it is never released by the application instance killed manually).
iOS:
App ends before the scanning starts and I get:
Got a SIGABRT while executing native code. This usually indicates a fatal error in the mono runtime or one of the native libraries used by your application.
UWP:
App ends just after the scanning and I get:
Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
Extra info: Xamarin.Forms version 2.3.2.127
Am I missing something?
Thanks