plaid / plaid-link-android

Plaid Link Android SDK
https://plaid.com/docs/link/android
MIT License
114 stars 48 forks source link

Regarding Plaid authentication, the problem of not being able to open the camera #248

Open LuckyPhz opened 1 year ago

LuckyPhz commented 1 year ago

Hello, when we were doing Plaid identity authentication, we found that when uploading the relevant ID documents of the user, the camera failed to open. The specific error message is as follows (the error message is not displayed every time): getCameraCharacteristics: java.lang.IllegalArgumentException: getCameraCharacteristics:747: Unable to retrieve camera characteristics for unknown device 3: No such file or directory (-2) at android.hardware.camera2.CameraManager.throwAsPublicException(CameraManager.java:1171) at android.hardware.camera2.CameraManager.getCameraCharacteristics(CameraManager.java:500) at vq0.i(chromium-TrichromeWebViewGoogle.apk-stable-447211483:4) at org.chromium.media.VideoCaptureFactory.isLegacyOrDeprecatedDevice(chromium-TrichromeWebViewGoogle.apk-stable-447211483:1) at org.chromium.media.VideoCaptureFactory.getDeviceName(chromium-TrichromeWebViewGoogle.apk-stable-447211483:1) Caused by: android.os.ServiceSpecificException: getCameraCharacteristics:747: Unable to retrieve camera characteristics for unknown device 3: No such file or directory (-2) (code 3) at android.os.Parcel.createExceptionOrNull(Parcel.java:2439) at android.os.Parcel.createException(Parcel.java:2409) at android.os.Parcel.readException(Parcel.java:2392) at android.os.Parcel.readException(Parcel.java:2334) at android.hardware.ICameraService$Stub$Proxy.getCameraCharacteristics(ICameraService.java:812) at android.hardware.camera2.CameraManager.getCameraCharacteristics(CameraManager.java:479) at vq0.i(chromium-TrichromeWebViewGoogle.apk-stable-447211483:4)  at org.chromium.media.VideoCaptureFactory.isLegacyOrDeprecatedDevice(chromium-TrichromeWebViewGoogle.apk-stable-447211483:1)  at org.chromium.media.VideoCaptureFactory.getDeviceName(chromium-TrichromeWebViewGoogle.apk-stable-447211483:1) 

The mobile phone model where the problem occurs is: Galaxy A53 5G (Android 13),Moto g play 2021,(android 11),Google Pixel 3(android12)

phoenixy1 commented 1 year ago

Hi!

Is this still an issue, and does it happen all the time or only on certain models? Have you already followed the instructions in https://plaid.com/docs/link/android/#enable-camera-support-identity-verification-only on enabling camera permissions?