Android-Password-Store
Android-Password-Store copied to clipboard
[BUG] Autofill fill SMS OTP action does not work on Android 13
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:
- Open https://msfjarvis.github.io/actions-test in Chrome
- Select the OTP field
- Tap 'Extract code from SMS' action in the autofill UI
- 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