Did anyone create a working autofill on Android Co...
# compose-android
r
Did anyone create a working autofill on Android Compose? I am following this snippet, and the autofill works in the filling part, but I am missing any documentation on how to commit the data (i.e. when the user clicks Login, I want to commit the username+pass). I got an instance of
AutofillManager
and I call
.commit
on it, but it does not do anything (I am expecting a system bottom sheet to open up and ask me if I want to save the login info). Seems to me that the snippet only sets up the logic to listen to the system autofill events, but does not communicate back to the system the current states of the text fields. Is there any full example on how to do this?
c
Autofill is apparently the #1 priority for the compose team at the moment (as of ~2 weeks ago) https://issuetracker.google.com/issues/176949051#comment31 I haven't gotten it to work and I've been trying for like 3 years. lol
👍 2