code-scanner icon indicating copy to clipboard operation
code-scanner copied to clipboard

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

Open iCarvalho7 opened this issue 2 years ago • 1 comments

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

  • Device: Samsung A32
  • Operating System: Android 13
  • Technologies: Native Android, Java

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.

iCarvalho7 avatar Jul 12 '23 17:07 iCarvalho7

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

AndreiRoze avatar Mar 14 '24 13:03 AndreiRoze