Forum Xamarin.Android

MobileBarcodeScanner in ScanContinuously mode, stops to scan after a while

Hi,

I am using MobileBarcodeScanner in ScanContinuously mode, in order to scan Qrcodes.

​The Android device is always powered on. The application has the WAKE_LOCK permission: android.permission.WAKE_LOCK.

That works well, but after a while (from 30 minuts to several hours) the app stops to read Qrcodes, although the application is still active​ and the screen is on.

It seems that the process goes to sleep. How can I avoid this problem ? (the user cannot touch the device, because the device is behind a protective glass).

Thanks for help.

Best regards,

Sign In or Register to comment.