Merge branch 'develop' into 'main'
AW-429-comp-v1-ios-ab See merge request witapp/aura-webapp!747
This commit is contained in:
commit
a21e765098
@ -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