Skip to content
/ auto_otp Public

Flutter plugin for Android Sms Retriever Api, automatically read sms from Android device.

License

Notifications You must be signed in to change notification settings

nikb7/auto_otp

Repository files navigation

auto_otp

Flutter plugin for Android Sms Retriever Api, automatically read sms from Android device.

Getting Started

Example usage:

final _autoOtp = AutoOtp();

final appSignature = await _autoOtp.getAppSignature();
final smsCode = await _autoOtp.getSmsCode(codeLenght: 5);

override onDispose() {
  _autoOtp.removeSmsListener();
  super.onDispose();
}

Benefits

  • No additional permission requests are needed
  • Eliminates the need for the user to manually type the otp

About

Flutter plugin for Android Sms Retriever Api, automatically read sms from Android device.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published