You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
TextField autofill for SMS verification messages #22858
As this feature is currently only supported with the iOS UITextField and the system keyboard, this probably cannot be implemented currently from my point of view, as flutter draws it's elements itself and does not rely on native components.
This was implemented a while ago (#4818) , but I think it seems quite broken at the moment. Not only is it unreliable, but the suggestion bar somehow gets placed on top of the Keyboard, meaning its hard to see and click.
@locpt firebase phone auth is not compliant with this package, as the readme state: SMS must End with an 11-character hash string that identifies your app and you can't do that with firebase phone auth. That's why it doesn't work
@locpt firebase phone auth is not compliant with this package, as the readme state: SMS must End with an 11-character hash string that identifies your app and you can't do that with firebase phone auth. That's why it doesn't work
Does this mean using firebase to authenticate users makes this package impossible to use? I'm confused whether firebase phone auth is different from firebase auth.
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.
Activity
Xavjer commentedon Oct 9, 2018
As this feature is currently only supported with the iOS
UITextFieldand the system keyboard, this probably cannot be implemented currently from my point of view, as flutter draws it's elements itself and does not rely on native components.jaumard commentedon Apr 19, 2019
Did you try https://pub.dartlang.org/packages/sms_autofill ? :)
stefandevo commentedon Apr 23, 2019
The package is Android only
jaumard commentedon Apr 24, 2019
@stefandevo for me it works also on iOS (at least at some point it did^^)
skela commentedon Jul 5, 2019
This was implemented a while ago (#4818) , but I think it seems quite broken at the moment. Not only is it unreliable, but the suggestion bar somehow gets placed on top of the Keyboard, meaning its hard to see and click.
jaumard commentedon Nov 3, 2019
@locpt firebase phone auth is not compliant with this package, as the readme state: SMS must
End with an 11-character hash string that identifies your appand you can't do that with firebase phone auth. That's why it doesn't workjaumard commentedon Nov 4, 2019
No there is no way, but you don't need SMS permission to auto-fill the OTP code if you follow the instructions of auto_fill package.
[-]TextField autofill for verification messages[/-][+]TextField autofill for SMS verification messages[/+]rfitz123 commentedon Apr 1, 2020
Does this mean using firebase to authenticate users makes this package impossible to use? I'm confused whether firebase phone auth is different from firebase auth.
enzobonggio commentedon Apr 20, 2020
So firebase is the problem?
ClebsonDantasUchoa commentedon Sep 28, 2020
Two years later, now the flutter has support for autofill on ios, but i couldn't run on ios
LongCatIsLooong commentedon May 16, 2024
OTP works for me on iOS:

github-actions commentedon May 30, 2024
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.