code-scanner
code-scanner copied to clipboard
NFC Functionality Stops Working When QR Code Scanning Preview is Started on Android 13
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
- Open the application and navigate to the screen where the QR code scanning functionality is present.
- Ensure that the NFC functionality is enabled and working.
- Execute the
mCodeScanner.startPreview()function to start the QR code scanning preview. - Observe that the NFC functionality is no longer working.
Have same issue on some devices. Main reason: on some devices NFC and Camera can't work at same time. Hardware issue.