AW-429-comp-v1-ios-ab
This commit is contained in:
parent
ba35a2fba7
commit
8923624c01
@ -62,7 +62,7 @@ function IphoneCamera() {
|
|||||||
|
|
||||||
const handleCameraError = (error: string | DOMException) => {
|
const handleCameraError = (error: string | DOMException) => {
|
||||||
console.log("camera error: ", error)
|
console.log("camera error: ", error)
|
||||||
if (reinitializeCameraCount < 2) {
|
if (reinitializeCameraCount < 2 && !String(error).includes("NotAllowedError")) {
|
||||||
setToastVisible(EToastVisible.no_access_camera)
|
setToastVisible(EToastVisible.no_access_camera)
|
||||||
} else {
|
} else {
|
||||||
if (!isShowScanHand) {
|
if (!isShowScanHand) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user