EdwardvanRaak / MaterialBarcodeScanner

Easy to use barcode reader for your Android Project (Uses Google Mobile Vision API)
Apache License 2.0
272 stars 113 forks source link

Reader initially reads twice #58

Open fasanchez87 opened 6 years ago

fasanchez87 commented 6 years ago

Hello,

There is a scenario of your library, when the permissions are approved initially and I accept to approve the camera permission, then I will read the QR and the reader reads me twice, sometimes reads up times, if you want you can try this:

  1. Install the App
  2. Create a read log in the onResult () method
  3. Accept the permission of the camera
  4. You can see the Log and read two or more times, this has me with many problems because I trigger an activity, then I run the activity twice

What is this error?

regards