Android-Password-Store icon indicating copy to clipboard operation
Android-Password-Store copied to clipboard

[BUG] Autofill fill SMS OTP action does not work on Android 13

Open msfjarvis opened this issue 2 years ago • 0 comments
trafficstars

Describe the bug

When using the 'Extract code from SMS' autofill action it launches AutofillSmsActivity but without the EXTRA_CLIENT_STATE bundle which hits this branch and finishes the activity without starting the OTP receiver.

Steps to reproduce

Steps to reproduce the behavior:

  1. Open https://msfjarvis.github.io/actions-test in Chrome
  2. Select the OTP field
  3. Tap 'Extract code from SMS' action in the autofill UI
  4. Observe nothing happens visually, since the activity finished itself. A log print can be recovered using adb logcat
AutofillSmsActivity  W  AutofillSmsActivity started without EXTRA_CLIENT_STATE

Expected behavior

AutofillSmsActivity correctly launches and awaits the relevant SMS

Screenshots

No response

Device information

  • Device: Google Pixel 7
  • OS: Android 13 (Build ID T2B1.221118.006)
  • App version: 2.0.0-SNAPSHOT (nonFree build b1cd2694d588bdad63d86580338a8316bf96b937)

Additional context

No response

msfjarvis avatar Dec 31 '22 14:12 msfjarvis