Skip to content

Login autofill doesn't work right on username/password login screen, on Android #546

Open
@gnprice

Description

@gnprice

We have a couple of reports of the password field and username/email field not working correctly with password managers on Android. Specifically here and here.

The symptoms are seen on at least the Firefox for Android password manager, and Bitwarden.

There seem to be two potentially separate issues:

  • If the user's interaction with the password manager involves going to another app and back, then nothing autofills.

    Sometimes this has the effect that it doesn't work the first time, but if the user tries again then it does work (because the switching to the other app and back is no longer required).

    This seems to be this issue in the Flutter tracker:
    [Android] Autofill from saved credentials doesn't work flutter/flutter#137760
    That issue has a reported workaround which looks fairly reasonable, so we should probably try that workaround.

  • Even when the app doesn't leave the foreground, only the password field gets filled, and not the username/email field. (At least when the password field is the one that was focused when invoking the password manager.)

    If the workaround for the first issue doesn't also fix this one, then we'll file a separate issue for this part. Possibly it'll mean there's something different we should be doing with the AutofillGroup widget and its friends.

Metadata

Metadata

Assignees

No one assigned

    Labels

    a-AndroidIssues specific to Android, or requiring Android-specific worka-first-hourIssues specific to using the app for the first timea-loginbeta feedbackThings beta users have specifically asked forupstreamWould benefit from work in Flutter or another upstream

    Type

    No type

    Projects

    • Status

      No status

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions