I tried this on few phones, Galaxy S8, Android 7.0, Nexus 5, Android 6.0.1. If I launch the app for the first time after swipe kill. It takes a longer time to get the onQRCodeRead callback(sometimes could be more than 1 minute). The QRCodeReaderView is inside a Relative layout. My code has similar structure as the sample. Part of the activity is like following.
I tried this on few phones, Galaxy S8, Android 7.0, Nexus 5, Android 6.0.1. If I launch the app for the first time after swipe kill. It takes a longer time to get the onQRCodeRead callback(sometimes could be more than 1 minute). The QRCodeReaderView is inside a Relative layout. My code has similar structure as the sample. Part of the activity is like following.