Skip to content
Articles
Article

Why does iOS SMS AutoFill add extra digits to a verification code in Flutter?

by zheng li dev.to

3 min read

Title Has anyone using your Flutter app reported that they tapped the SMS code above the iPhone keyboard and got more digits than were in the message? On our login screen, tapping 123456 gave me 12345612. Where did that last 12 come from? I logged the value inside Flutter’s native iOS input view and found 123456123456. Our field had an eight-character limit, so only the first two digits of the se…

Forum

Questions about this, or something to add?

Discuss on the forum

Report this · Wrote this? Claim it

FlutterX is supported by