Getting started with 1Password for your growing team, or refining your setup? Our Secured Success quickstart guide is for you.
Forum Discussion
Former Member
4 years agoAutofill password field not triggering on (Android devices) for Flutter
Password field in Flutter, working fine with Iphones but for Android the password field is never autofilling.
1Password Version: Not Provided
Extension Version: Not Provided
OS Version: No...
Former Member
3 years agoricardoboss rekire @mtambucho @AugustoResende
I did some research on this and found a way for Flutter developers to get Autofill working with 1Password, but it will require a bit of work. Flutter provides a way to https://docs.flutter.dev/development/platform-integration/android/platform-views, which would allow you to apply an InputType
to your text fields as well as Autofill hints.
For example:
textView.inputType = android.text.InputType.TYPE_TEXT_VARIATION_EMAIL_ADDRESS
and
textView.inputType = android.text.InputType.TYPE_TEXT_VARIATION_PASSWORD
This will need to be done in the Android platform side of the code, but you can create a class which you can then input into your Dart code.
I spent some time working on a dummy app, so I have a working example if anyone needs.