journeyapps / zxing-android-embedded

Barcode scanner library for Android, based on the ZXing decoder
https://journeyapps.com/
Apache License 2.0
5.68k stars 1.26k forks source link

OnNewIntent to scan NFC not being called from android 10 onwards #631

Open PhongDinh12 opened 3 years ago

PhongDinh12 commented 3 years ago

I use onNewIntent to listen to NFC, when the camera is turned on, the onNewIntent function is not called when I swipe the NFC tag. When I turn off the camera, I swipe the NFC tag to the onNewIntent function to receive it normally. I am thinking that the function is overwritten or removed the service when the camera is turned on. If anyone has encountered this error please help me to debug. I sincerely thank !