@privateid/cryptonets-web-sdk
Advanced tools
Comparing version 4.5.4 to 4.5.5
@@ -292,2 +292,22 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
} | ||
if (isAndroidWebView()) { | ||
if (faceMode === 'user') { | ||
return { | ||
audio: false, | ||
video: true, | ||
}; | ||
} | ||
else { | ||
return { | ||
audio: false, | ||
video: { | ||
facingMode: faceMode, | ||
width: videoWidth, | ||
height: videoHeight, | ||
deviceId: deviceId ? deviceId.deviceId : undefined, | ||
aspectRatio, | ||
}, | ||
}; | ||
} | ||
} | ||
if (isAndroid()) { | ||
@@ -294,0 +314,0 @@ return { |
@@ -5,3 +5,3 @@ { | ||
"description": "CryptoNets WebAssembly SDK", | ||
"version": "4.5.4", | ||
"version": "4.5.5", | ||
"keywords": [ | ||
@@ -8,0 +8,0 @@ "Face recognition", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
44751237
6961