yuriy-budiyev / code-scanner

Code scanner library for Android, based on ZXing
MIT License
1.1k stars 267 forks source link

NFC Functionality Stops Working When QR Code Scanning Preview is Started on Android 13 #187

Open iCarvalho7 opened 1 year ago

iCarvalho7 commented 1 year ago

Issue Description

When executing the mCodeScanner.startPreview() function in a fragment responsible for QR code scanning on a Samsung A32 device running Android 13, the NFC functionality stops working.

Environment

Steps to Reproduce

  1. Open the application and navigate to the screen where the QR code scanning functionality is present.
  2. Ensure that the NFC functionality is enabled and working.
  3. Execute the mCodeScanner.startPreview() function to start the QR code scanning preview.
  4. Observe that the NFC functionality is no longer working.
AndreiRoze commented 6 months ago

Have same issue on some devices. Main reason: on some devices NFC and Camera can't work at same time. Hardware issue.