syphon-org / syphon

⚗️ a privacy centric matrix client
https://syphon.org
GNU Affero General Public License v3.0
1.04k stars 71 forks source link

Support for Autofill #219

Closed NANASHI0X74 closed 3 years ago

NANASHI0X74 commented 3 years ago

Hi, I'm using https://github.com/android-password-store/Android-Password-Store as a password manager on Android. I noticed that the login field in the app didn't get picked up as an autofillable field. Wether or not you want to support autofill I suppose you will have to decide yourself, but in flutter for autofill to work you need to wrap inputfields in some seperate widgets apparently actually it looks like it's not quite correct that you need to wrap them in another widget, instead, if I understand correctly, there's a property on textfields (https://api.flutter.dev/flutter/material/TextField/autofillHints.html) to set and there's also an autofillgroup widget that I think can group multiple textfields together so they can be autofilled at the same time (I haven't got round to using them yet myself)

ereio commented 3 years ago

Thanks for doing the research!

I can't think of any negatives but if someone knows better let me know.

Otherwise, I'll throw this into the next release.