onTextChange

fun onTextChange(value: String, keyContext: String)

This is specially for Jetpack Compose UI, if you are NOT using Jetpack Compose UI, just ignore it Normally work with onFocusChange

    PasswordField(
value = password,
onChange = {
password = it
sdk.onTextChange(password, "password") },
modifier = Modifier.fillMaxWidth()
.onFocusChanged {
sdk.onFocusChange(it.isFocused, "password")
}
)

notify biometrics module that a Text field has changed value.

Parameters

value

the new value of the Text field

keyContext

the context of what the text field is being used for