I tried to provide some autofill functionality in my app for email and password that is written completely using Jetpack compose. After using this function I achieved autofill but after changing password it remains old password. Is there any idea to let know Google about the new situation in somewhere, maybe after changing password or preferably login with new password, to ask users such a question like "Would like update password?"?
For now, there is no any function related to autofill feature in change password action.
Login Page:
OutlinedTextField(
modifier = landscapeTextModifier
.padding(top = 20.dp)
.autofill(
autofillTypes = listOf(AutofillType.EmailAddress),
onFill = { loginViewModel.email.value = it },
),
value = loginViewModel.email.value,
onValueChange = { loginViewModel.email.value = it.trim() },
// some other things
)
OutlinedTextField(
modifier = landscapeTextModifier
.padding(top = 10.dp)
.autofill(
autofillTypes = listOf(AutofillType.Password),
onFill = { loginViewModel.password.value = it },
),
value = loginViewModel.password.value,
onValueChange = { loginViewModel.password.value = it },
// some other things
)