sms_otp_auto_verify unable to auto detect the OTP

435

It will listen the APP Signature in the SMS, if matches then read the code (OTP) from SMS and fill it in the text field. onOtpCallback you can do the OTP validation and proceed to next screen, if success.

Working for me in debug mode not release mode

Share:
435
Nimisha Shukla
Author by

Nimisha Shukla

Updated on December 24, 2022

Comments

  • Nimisha Shukla
    Nimisha Shukla over 1 year

    I am using sms_otp_auto_verify this plugin in the flutter to auto-detect the OTP received on mobile and type it in the given text field. I used this code https://pub.dev/packages/sms_otp_auto_verify/example. But it is verifying any text that is being typed. Do I need some kind of permission? What am I missing?

    • Tirth Patel
      Tirth Patel over 3 years
      It verifies the sms content when an sms arrives.
    • Nimisha Shukla
      Nimisha Shukla over 3 years
      So it cannot be used for auto-detecting? @TirthPatel
    • Tirth Patel
      Tirth Patel over 3 years
      I think this package auto-fills the SMS content (OTP).
  • Hossein Sajadi
    Hossein Sajadi about 3 years
    yes, unfortunately it generates different app signature in release mode and debug mode