[GH-ISSUE #572] Bitwarden autofill not working on Tutanota app #48887

Closed
opened 2026-05-01 07:07:14 -05:00 by GiteaMirror · 9 comments
Owner

Originally created by @IOI-655321 on GitHub (Aug 1, 2019).
Original GitHub issue: https://github.com/bitwarden/android/issues/572

See conversation with Tutanota staff here

https://old.reddit.com/r/tutanota/comments/cjcrv4/android_autofill_and_tutanota_app/

The Tutanota app just wont autofill using accessibility or oreo autofill, Tutanota staff tried with LastPass and Keypass XC and these apparently worked.

Scan for password field doesnt work, always scan doesnt work, persistant notification will autofill it bu theres never an oreo autofill prompt.

Can this be looked at please?

Originally created by @IOI-655321 on GitHub (Aug 1, 2019). Original GitHub issue: https://github.com/bitwarden/android/issues/572 See conversation with Tutanota staff here https://old.reddit.com/r/tutanota/comments/cjcrv4/android_autofill_and_tutanota_app/ The Tutanota app just wont autofill using accessibility or oreo autofill, Tutanota staff tried with LastPass and Keypass XC and these apparently worked. Scan for password field doesnt work, always scan doesnt work, persistant notification will autofill it bu theres never an oreo autofill prompt. Can this be looked at please?
Author
Owner

@charlag commented on GitHub (Aug 1, 2019):

Please note that autofill does work with exactly same fields on mail.tutanota.com

<!-- gh-comment-id:517174763 --> @charlag commented on GitHub (Aug 1, 2019): Please note that autofill *does* work with exactly same fields on [mail.tutanota.com](https://mail.tutanota.com)
Author
Owner

@kspearrin commented on GitHub (Aug 1, 2019):

I just tested this with the autofill accessibility service and it worked as expected. I do see some issues with the standard autofill service, so I am looking into that.

<!-- gh-comment-id:517426357 --> @kspearrin commented on GitHub (Aug 1, 2019): I just tested this with the autofill accessibility service and it worked as expected. I do see some issues with the standard autofill service, so I am looking into that.
Author
Owner

@kspearrin commented on GitHub (Aug 1, 2019):

The reason the standard autofill service is failing is because I am not able to locate the package id of the tutanota app.

Currently, we look for ViewNode.IdPackage to locate this, however, this is always null on ViewNode's in Tutanota. Do you know why @charlag ?

https://github.com/bitwarden/mobile/blob/master/src/Android/Autofill/Parser.cs#L137

<!-- gh-comment-id:517432872 --> @kspearrin commented on GitHub (Aug 1, 2019): The reason the standard autofill service is failing is because I am not able to locate the package id of the tutanota app. Currently, we look for ViewNode.IdPackage to locate this, however, this is always null on ViewNode's in Tutanota. Do you know why @charlag ? https://github.com/bitwarden/mobile/blob/master/src/Android/Autofill/Parser.cs#L137
Author
Owner
<!-- gh-comment-id:517433193 --> @kspearrin commented on GitHub (Aug 1, 2019): See https://developer.android.com/reference/android/app/assist/AssistStructure.ViewNode.html#getIdPackage()
Author
Owner

@charlag commented on GitHub (Aug 1, 2019):

@kspearrin because it's WebView I guess?

<!-- gh-comment-id:517433514 --> @charlag commented on GitHub (Aug 1, 2019): @kspearrin because it's WebView I guess?
Author
Owner

@kspearrin commented on GitHub (Aug 1, 2019):

I am not seeing any properties that would give me the package id of the calling app in this case.

<!-- gh-comment-id:517436279 --> @kspearrin commented on GitHub (Aug 1, 2019): I am not seeing any properties that would give me the package id of the calling app in this case.
Author
Owner

@kspearrin commented on GitHub (Aug 1, 2019):

I've added a hacky workaround to extract a package id from the calling app's activity title. See https://github.com/bitwarden/mobile/blob/master/src/Android/Autofill/Parser.cs#L159

This seems to work. Will be available next release.

<!-- gh-comment-id:517450613 --> @kspearrin commented on GitHub (Aug 1, 2019): I've added a hacky workaround to extract a package id from the calling app's activity title. See https://github.com/bitwarden/mobile/blob/master/src/Android/Autofill/Parser.cs#L159 This seems to work. Will be available next release.
Author
Owner

@charlag commented on GitHub (Aug 1, 2019):

@kspearrin great, thanks, quite some users complain about this. I'm not sure why you need to get the package though.

<!-- gh-comment-id:517459010 --> @charlag commented on GitHub (Aug 1, 2019): @kspearrin great, thanks, quite some users complain about this. I'm not sure why you need to get the package though.
Author
Owner

@kspearrin commented on GitHub (Aug 1, 2019):

We need the package id to identify what app you are autofilling. This is how we make autofill suggestions from the password vault.

<!-- gh-comment-id:517459359 --> @kspearrin commented on GitHub (Aug 1, 2019): We need the package id to identify what app you are autofilling. This is how we make autofill suggestions from the password vault.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/android#48887