TOTP not copied when using password autofill service on Android Pie #332

Closed
opened 2025-11-07 08:35:39 -06:00 by GiteaMirror · 9 comments
Owner

Originally created by @serovar on GitHub (Jan 20, 2019).

The TOTP is not copied when autofilling a password on Android Pie (I am using a Pixel 2 XL with the stock ROM) using the native autofill service, while it is copied using the autofill accessibility service.

Originally created by @serovar on GitHub (Jan 20, 2019). The TOTP is not copied when autofilling a password on Android Pie (I am using a Pixel 2 XL with the stock ROM) using the native autofill service, while it is copied using the autofill accessibility service.
Author
Owner

@NE-MO-MO commented on GitHub (Feb 6, 2019):

i am using Iphone , and the TOTP is not working for me too .i have to open the app to copy the TOTP . it used to work but not now

@NE-MO-MO commented on GitHub (Feb 6, 2019): i am using Iphone , and the TOTP is not working for me too .i have to open the app to copy the TOTP . it used to work but not now
Author
Owner

@NE-MO-MO commented on GitHub (Feb 6, 2019):

@kspearrin can you please check this problem ,

@NE-MO-MO commented on GitHub (Feb 6, 2019): @kspearrin can you please check this problem ,
Author
Owner

@walrus543 commented on GitHub (May 15, 2019):

What's the problem here? I thought it could be fixed faster. Does it come from Android API?
Thank you.

@walrus543 commented on GitHub (May 15, 2019): What's the problem here? I thought it could be fixed faster. Does it come from Android API? Thank you.
Author
Owner

@kspearrin commented on GitHub (Jun 4, 2019):

TOTP copy for autofill service should now occur in v2.0 whenevr you select the autofill entry from within the app itself (not the dropdown menu, unfortunately). Can you try play store beta?

@kspearrin commented on GitHub (Jun 4, 2019): TOTP copy for autofill service should now occur in v2.0 whenevr you select the autofill entry from within the app itself (not the dropdown menu, unfortunately). Can you try play store beta?
Author
Owner

@anstosa commented on GitHub (Jun 4, 2019):

TOTP copy for autofill service should now occur in v2.0 whenevr you select the autofill entry from within the app itself (not the dropdown menu, unfortunately). Can you try play store beta?

Isn't that the same as it was before? The original ticket states the the accessibility service (notification which opens the Bitwarden app) does work but the autofill service (dropdown) does not.

@anstosa commented on GitHub (Jun 4, 2019): > TOTP copy for autofill service should now occur in v2.0 whenevr you select the autofill entry from within the app itself (not the dropdown menu, unfortunately). Can you try play store beta? Isn't that the same as it was before? The original ticket states the the accessibility service (notification which opens the Bitwarden app) does work but the autofill service (dropdown) does not.
Author
Owner

@kspearrin commented on GitHub (Jun 4, 2019):

@anstosa As far as I can see, it is not possible to invoke a TOTP copy action when a user selects autofill from the dropdown menu. We just provide the items to show in the dropdown. There is no callback that notifies me that the user actually selected an item.

Previously the TOTP code would not be copied even if you autofilled from opening the app screen ("Auto-fill with Bitwarden" option in the dropdown). This problem should be resolved in v2.0.

@kspearrin commented on GitHub (Jun 4, 2019): @anstosa As far as I can see, it is not possible to invoke a TOTP copy action when a user selects autofill from the dropdown menu. We just provide the items to show in the dropdown. There is no callback that notifies me that the user actually selected an item. Previously the TOTP code would not be copied even if you autofilled from opening the app screen ("Auto-fill with Bitwarden" option in the dropdown). This problem should be resolved in v2.0.
Author
Owner

@anstosa commented on GitHub (Jun 4, 2019):

Ah, understood. I'm not familiar with Android's APIs. Is it possible to use the accessibility service to observe user interactions with the auto-fill dialog?

@anstosa commented on GitHub (Jun 4, 2019): Ah, understood. I'm not familiar with Android's APIs. Is it possible to use the accessibility service to observe user interactions with the auto-fill dialog?
Author
Owner

@walrus543 commented on GitHub (Jun 5, 2019):

V2.0 with Via browser the totp code is properly copied using the drop-down menu! It does work on my end.
Tested on Github website.

@walrus543 commented on GitHub (Jun 5, 2019): V2.0 with Via browser the totp code is properly copied using the drop-down menu! It does work on my end. Tested on Github website.
Author
Owner

@kspearrin commented on GitHub (Jun 6, 2019):

@anstosa I know of no way to accomplish this with accessibility. Closing since we added it as the only way possible in v2.0.

@kspearrin commented on GitHub (Jun 6, 2019): @anstosa I know of no way to accomplish this with accessibility. Closing since we added it as the only way possible in v2.0.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/android#332