-
Notifications
You must be signed in to change notification settings - Fork 509
Description
Phone model: Xiaomi 14
OS version: 3.0.5.0.WNCCXNM
happy version: 1.5.0
Issue as follows
-
The app crashes when opening the camera to scan a QR code without prompting for permission; after manually granting camera permission, scanning works, but it cannot connect to the PC and the home screen stays black with a spinning circle.

-
Frequent crashes—tapping anywhere inside the app randomly triggers a crash with no clear pattern.
-
The system crash log is below; the issue might be camera-related. The stack trace is as follows
java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:626)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1115)
Caused by: java.lang.reflect.InvocationTargetException
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:616)
... 1 more
Caused by: expo.modules.camera.CameraExceptions$BarcodeScanningFailedException: Barcode scanning failed
at expo.modules.camera.CameraViewModule$definition$1$8$2.onFailure(CameraViewModule.kt:142)
at com.google.android.gms.tasks.zzk.run(com.google.android.gms:play-services-tasks@@18.1.0:1)
at android.os.Handler.handleCallback(Handler.java:995)
at android.os.Handler.dispatchMessage(Handler.java:103)
at android.os.Looper.loopOnce(Looper.java:267)
at android.os.Looper.loop(Looper.java:360)
at android.app.ActivityThread.main(ActivityThread.java:10054)
... 3 more