Zxing.net.mobile: Android: FragmentScanning is not working

Created on 20 Jul 2017  路  6Comments  路  Source: Redth/ZXing.Net.Mobile

The example that is here is not working for me.

  • Downloaded the whole source code.
  • Lunched the Android.Sample project.
  • Added ZXing via nuget version 2.2.9

Every other sample worked, but not that one.

Also tried to implement this is my own app and that did not work either, then I tried to download the sample app and run that one. It also did not work.

App was run on Android, Oneplus 3T, Android version 7.1.

Most helpful comment

I too had same issue and I got it fixed...it's due to the delay of commit of fragment transaction.

Add SupportFragmentManager.ExecutePendingTransactions(); just after commit to forcefully do this.

All 6 comments

I am experiencing the same issue.
Works fine on Android 5 and Android 6.0.1

Same bug, any solutions?

@furiousbuilder look into Google.Vision, that is what I'm doing

Thanks @Zexuz, I'll try! I'll search some samples for Xamarin

I too had same issue and I got it fixed...it's due to the delay of commit of fragment transaction.

Add SupportFragmentManager.ExecutePendingTransactions(); just after commit to forcefully do this.

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!

Was this page helpful?
0 / 5 - 0 ratings