Closed Bug 1515431 Opened 6 years ago Closed 5 years ago

Android autofill issues with Bitwarden

Categories

(Firefox for Android Graveyard :: Logins, Passwords and Form Fill, defect, P2)

Firefox 66
Unspecified
Android
defect

Tracking

(firefox64 wontfix, firefox65 wontfix, firefox66 wontfix, firefox67 wontfix, firefox68 verified, firefox69 verified)

RESOLVED WORKSFORME
Tracking Status
firefox64 --- wontfix
firefox65 --- wontfix
firefox66 --- wontfix
firefox67 --- wontfix
firefox68 --- verified
firefox69 --- verified

People

(Reporter: lizzard, Unassigned)

References

Details

(Whiteboard: [geckoview:fenix:m8])

From https://bugzilla.mozilla.org/show_bug.cgi?id=1352011#c24: "I've tried the live version and latest nightly and i still have issues with Oreo autofill API (using bitwarden) If my vault is locked the location of the oreo autofill prompt is usually top left above the URL bar. On some sites after logging in to my vault and selecting the site to autofill it returns to the browser page but does nothing. Others it works fine. The accessibility version works fine every time on all sites. The Oreo autofill prompt (when vault locked) only shows the first time you click in the fields, after that it never re-shows you have to re-load the page."

Ioana, does your team test with Bitwarden?

Flags: needinfo?(ioana.chiorean)
Priority: -- → P2

I think this may also affect geckoview.

Whiteboard: [geckoview]

(In reply to Liz Henry (:lizzard) (use needinfo) from comment #1)

Ioana, does your team test with Bitwarden?

We did a bit of testing while the other tools were not working on FxA side. NI Sorina on it.

Flags: needinfo?(ioana.chiorean) → needinfo?(sorina.florean)

Tested, with the help of Stefan, on several devices and here are our findings:

  • On OnePlus 5T(Android 8.1.0) and on Samsung Galaxy S8(Android 8.0) the "Auto-fill with Bitwarden" prompt was displayed right after we tapped in the email/username field. Selecting the login credentials from the app and then returning to FF was done without issues.

  • On Samsung Galaxy Note 8(Android 8.0) the prompt was not displayed, instead, we had a notification from Bitwarden in the notification bar, one of the scenarios presented by the user, but we had no issues when we tapped to autofill.

  • On Nexus 6P(Android 8.1.0) the notification was displayed but tapping on it and selecting the credentials didn't work. We got stuck in the Bitwarden app.

We also confirm that the autofill prompt is displayed only once and reloading the page must be performed in order to be visible again.

Tested also on Focus, and the behavior is the same as for Fennec.

Flags: needinfo?(sorina.florean)

[geckoview:fenix:p3] because we should make sure this works in Fenix.

Whiteboard: [geckoview] → [geckoview:fenix:p3]

Bitwarden added Fenix, RB, and Rocket to its autofill whitelist on 2019-03-29:

https://github.com/bitwarden/mobile/commit/6088cfe2669d692d60175388aaf59933e07c9be8#diff-743a249a3bb6eca734660644492de094

But the most recent Bitwarden release is version 1.22.0 from 2019-02-04. We should retest this bug after Bitwarden releases a new version:

https://github.com/bitwarden/mobile/releases

Depends on: 1538385
OS: Unspecified → Android
Whiteboard: [geckoview:fenix:p3] → [geckoview:fenix:p2]

(In reply to Chris Peterson [:cpeterson] from comment #6)

But the most recent Bitwarden release is version 1.22.0 from 2019-02-04. We should retest this bug after Bitwarden releases a new version:

https://github.com/bitwarden/mobile/releases

Bitwarden recently released version 2.0.x, which is supposed to include the bug fixes. I filed a PI request asking to retest Fenix/etc: https://jira.mozilla.com/browse/PI-180

Whiteboard: [geckoview:fenix:p2] → [geckoview:fenix:m8]

Verified the new Bitwarden release (2.0.6 from Jun 16, 2019) on the following apps:
Firefox Preview v. 1.0.1926
Fennec 68.0b14
Focus 8.0.15
Reference browser v. 1.0.1927

Devices used:
Google Pixel 3 (Android 9)
Galaxy Note 8 (Android 9)
HTC 10 (Android 8.0)
Nexus 6P (Android 8.1.0)
Nokia 6 (Android 7.1.1)
Nexus 5 (Android 6.0.1)

Results:
There are still some different issues on different devices, but with no difference between the apps:
On Note 8 and Nexus 6P: One can add new credentials or use the suggested autofill. But, adding a new login or selecting it from the vault, returning to the app won't fill it in. You need to refresh the page and tap it from the auto-fill list. (works fine on HTC 10, S8, Pixel 3).
On a Nokia 6 (Android 7.1.1), there is no auto-fill popup. Tapping the notification banner and selecting a login from the vault will not return to the app, it just opens the Bitwarden vault homepage.
On Nexus 5 (Android 6.0.1), the auto-fill pop-up doesn't appear. But it works fine by tapping the Bitwarden notification and picking a login from the vault.

Everything works fine on the rest of the verified devices.

(In reply to Oana Horvath from comment #8)

On a Nokia 6 (Android 7.1.1), there is no auto-fill popup. Tapping the notification banner and selecting a login from the vault will not return to the app, it just opens the Bitwarden vault homepage.
On Nexus 5 (Android 6.0.1), the auto-fill pop-up doesn't appear. But it works fine by tapping the Bitwarden notification and picking a login from the vault.

Autofill Framework is Android O+. So Oana, is this behavior is same result on both Fenix and Fennec?

Flags: needinfo?(oana.horvath)

(In reply to Makoto Kato [:m_kato] from comment #9)

(In reply to Oana Horvath from comment #8)

On a Nokia 6 (Android 7.1.1), there is no auto-fill popup. Tapping the notification banner and selecting a login from the vault will not return to the app, it just opens the Bitwarden vault homepage.
On Nexus 5 (Android 6.0.1), the auto-fill pop-up doesn't appear. But it works fine by tapping the Bitwarden notification and picking a login from the vault.

Autofill Framework is Android O+. So Oana, is this behavior is same result on both Fenix and Fennec?

Yes, both function the same way, don't automatically return to the browser. But, with one difference: with Fenix, you tap back until you return to the app and then it will fill out the login form. On Fennec, it will not fill it out on return.

Flags: needinfo?(oana.horvath)

(In reply to Oana Horvath from comment #8)

On Note 8 and Nexus 6P: One can add new credentials or use the suggested autofill. But, adding a new login or selecting it from the vault, returning to the app won't fill it in. You need to refresh the page and tap it from the auto-fill list. (works fine on HTC 10, S8, Pixel 3).
On a Nokia 6 (Android 7.1.1), there is no auto-fill popup. Tapping the notification banner and selecting a login from the vault will not return to the app, it just opens the Bitwarden vault homepage.
On Nexus 5 (Android 6.0.1), the auto-fill pop-up doesn't appear. But it works fine by tapping the Bitwarden notification and picking a login from the vault.

Oana, does Bitwarden have these same issues when using Chrome on these devices? I'm wondering whether these are Fennec/Fenix bugs or a Bitwarden or device bugs.

Flags: needinfo?(oana.horvath)

(In reply to Chris Peterson [:cpeterson] from comment #11)

(In reply to Oana Horvath from comment #8)

On Note 8 and Nexus 6P: One can add new credentials or use the suggested autofill. But, adding a new login or selecting it from the vault, returning to the app won't fill it in. You need to refresh the page and tap it from the auto-fill list. (works fine on HTC 10, S8, Pixel 3).
On a Nokia 6 (Android 7.1.1), there is no auto-fill popup. Tapping the notification banner and selecting a login from the vault will not return to the app, it just opens the Bitwarden vault homepage.
On Nexus 5 (Android 6.0.1), the auto-fill pop-up doesn't appear. But it works fine by tapping the Bitwarden notification and picking a login from the vault.

Oana, does Bitwarden have these same issues when using Chrome on these devices? I'm wondering whether these are Fennec/Fenix bugs or a Bitwarden or device bugs.

Yes, Chrome has the same issues with Bitwarden.

Flags: needinfo?(oana.horvath)

(In reply to Oana Horvath from comment #12)

Yes, Chrome has the same issues with Bitwarden.

Thanks for checking. In that case, these remaining issues look like Bitwarden's bugs. I think we can close this bug as WORKSFORME.

The PI request (PI-180) has been resolved.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WORKSFORME
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.