Skip to content

Commit

Permalink
fix(liveness): Add version to liveness websocket user agent (#73)
Browse files Browse the repository at this point in the history
Co-authored-by: Thomas Leing <[email protected]>
Co-authored-by: Tyler Roach <[email protected]>
  • Loading branch information
3 people authored Sep 14, 2023
1 parent f6e6dcb commit 3e756f8
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ import com.amplifyframework.predictions.aws.models.RgbColor
import com.amplifyframework.predictions.aws.options.AWSFaceLivenessSessionOptions
import com.amplifyframework.predictions.models.FaceLivenessSessionInformation
import com.amplifyframework.predictions.models.VideoEvent
import com.amplifyframework.ui.liveness.BuildConfig
import com.amplifyframework.ui.liveness.model.FaceLivenessDetectionException
import com.amplifyframework.ui.liveness.model.LivenessCheckState
import com.amplifyframework.ui.liveness.state.LivenessState
Expand Down Expand Up @@ -176,6 +177,7 @@ internal class LivenessCoordinator(
sessionId,
faceLivenessSessionInformation,
faceLivenessSessionOptions,
BuildConfig.VERSION_NAME,
{ livenessState.onLivenessSessionReady(it) },
{
disconnectEventReceived = true
Expand Down

0 comments on commit 3e756f8

Please sign in to comment.