The OTP autofill feature should detect and automatically populate the OTP code when it is received.
Actual Behavior
The phone number is detected successfully, but the OTP is not automatically detected or populated in the app. I tried both startListenUserConsent and startListenRetriever
Steps to Reproduce
Set up OTP autofill using OTPTextEditController.
Phone number detection works as expected.
Receive OTP but it is not detected or autofilled into the OTP input field.
Details
Flutter version: Channel stable, 3.24.1
Platform: Android/iOS
macOS version: macOS 14.6.1 (23G93 darwin-arm64)
Android Studio: version 2024.1
Xcode version: 15.4
VS Code version: 1.92.2
Android SDK version: 32.1.0-rc1
Sample SMS
Your Firebase App verification code is 123456
signature_code_here
Expected Behavior
The OTP autofill feature should detect and automatically populate the OTP code when it is received.
Actual Behavior
The phone number is detected successfully, but the OTP is not automatically detected or populated in the app. I tried both
startListenUserConsent
andstartListenRetriever
Steps to Reproduce
OTPTextEditController
.Details
Sample SMS
Full Code
What Did You Try to Solve
listenForCode
method implementation.Checklist for Self-Check