Skip to content

TextField autofill for SMS verification messages #22858

Closed

Description

@pdefuns

Is it planned to support autofill possibility for verification messages in TextFields?

How to show verification code suggestion on keyboard from Message (iOS 12 with .oneTimeCode)

Activity

  1. added
    c: new featureNothing broken; request for a new capability
    frameworkflutter/packages/flutter repository. See also f: labels.
    on Oct 9, 2018
  2. added this to the milestone on Oct 9, 2018
  3. Xavjer commented on Oct 9, 2018

    @Xavjer
    Contributor

    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.

  4. jaumard commented on Apr 19, 2019

    @jaumard
    Contributor
  5. stefandevo commented on Apr 23, 2019

    @stefandevo

    Did you try https://pub.dartlang.org/packages/sms_autofill ? :)

    The package is Android only

  6. jaumard commented on Apr 24, 2019

    @jaumard
    Contributor

    @stefandevo for me it works also on iOS (at least at some point it did^^)

  7. skela commented on Jul 5, 2019

    @skela

    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.

    215895_image-2019-04-23-07-59-29-059

  8. jaumard commented on Nov 3, 2019

    @jaumard
    Contributor

    @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

  9. jaumard commented on Nov 4, 2019

    @jaumard
    Contributor

    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.

  10. changed the title [-]TextField autofill for verification messages[/-] [+]TextField autofill for SMS verification messages[/+] on Jan 3, 2020
  11. modified the milestones: , on Jan 7, 2020
  12. rfitz123 commented on Apr 1, 2020

    @rfitz123

    @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.

  13. enzobonggio commented on Apr 20, 2020

    @enzobonggio

    So firebase is the problem?

  14. added
    P3Issues that are less important to the Flutter project
    on May 29, 2020
  15. removed this from the milestone on Aug 17, 2020
  16. ClebsonDantasUchoa commented on Sep 28, 2020

    @ClebsonDantasUchoa

    Two years later, now the flutter has support for autofill on ios, but i couldn't run on ios

  17. LongCatIsLooong commented on May 16, 2024

    @LongCatIsLooong
    Contributor

    OTP works for me on iOS:
    image

  18. github-actions commented on May 30, 2024

    @github-actions

    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.

  19. locked as resolved and limited conversation to collaborators on May 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Issues that are less important to the Flutter projectc: new featureNothing broken; request for a new capabilitycustomer: peppermintframeworkflutter/packages/flutter repository. See also f: labels.platform-iosiOS applications specificallyteam-iosOwned by iOS platform teamtriaged-iosTriaged by iOS platform team

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions