Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

register failed, the sensor listeners size has exceeded the maximum limit 128 #753

Open
Hamoda96 opened this issue Apr 20, 2024 · 0 comments

Comments

@Hamoda96
Copy link

get error

Caused by java.lang.IllegalStateException register failed, the sensor listeners size has exceeded the maximum limit 128 android.hardware.SystemSensorManager.registerListenerImpl (SystemSensorManager.java:278) android.view.OrientationEventListener.enable (OrientationEventListener.java:107) com.journeyapps.barcodescanner.RotationListener.listen (RotationListener.java:52) com.journeyapps.barcodescanner.CameraPreview.resume (CameraPreview.java:633) com.journeyapps.barcodescanner.DecoratedBarcodeView.resume (DecoratedBarcodeView.java:209) feature.barcode.zxing.embedded.BarcodeScanView.onResume (BarcodeScanView.kt:38) feature.barcode.zxing.embedded.BarcodeScanView.onLifeCycleEvent (BarcodeScanView.kt:66) feature.barcode.zxing.embedded.BarcodeScanView.access$onLifeCycleEvent (BarcodeScanView.kt:11) feature.barcode.zxing.embedded.BarcodeScanView$observer$1.onStateChanged (BarcodeScanView.kt:21) androidx.lifecycle.LifecycleRegistry$ObserverWithState.dispatchEvent (LifecycleRegistry.kt:314)
using version 4.3.0

Oppo model RMX3710 using Android 14

Does the same happen on other devices or an emulator? -> yes it is

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant