Flutter iOS SMS AutoFill bug duplicates verification codes, with a fix merged upstream
A developer found that tapping an SMS one-time code in a Flutter app on iOS sometimes produced extra digits, such as 12345612 instead of 123456. Tracing the native input view showed that UIKit delivered the code multiple times, and the missing setText: method caused it to be appended at the cursor. Testing on iOS 27.3 beta 1 showed the single-insertion behavior that avoids the problem, though the developer tested only the 27.2 RC and 27.3 beta 1 builds. The Flutter engine fix adding setText: has been merged into master, and an app-side Swift workaround is provided for teams that cannot yet upgrade.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in