beon_otp_sdk 1.0.0 copy "beon_otp_sdk: ^1.0.0" to clipboard
beon_otp_sdk: ^1.0.0 copied to clipboard

BeOn OTP SDK for Flutter — send, verify, and zero-tap auto-fill one-time passwords via Android SMS Retriever and iOS keyboard suggestions.

1.0.0 #

  • Initial public release.
  • BeonOtpClient.sendOtp — send OTPs by SMS or WhatsApp.
  • BeonOtpClient.verifyOtp — local equality check.
  • Zero-tap Android auto-fill via the SMS Retriever API, surfaced through BeonOtpClient.autofilledCode (a ValueNotifier<String?>). The listener is armed automatically inside sendOtp before the HTTP request leaves the device, eliminating the race between listener registration and SMS arrival.
  • BeonOtpClient.getAndroidAppSignature() — returns the 11-character signing hash that must be embedded in the OTP SMS for zero-tap autofill to fire on Android.
  • iOS auto-fill via system keyboard suggestions (autofillHints: [AutofillHints.oneTimeCode]).
  • Opt-out via BeonOtpClient(enableAutofill: false) — disables the SMS Retriever listener and stops sending the app signature in the request body.
2
likes
80
points
42
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

BeOn OTP SDK for Flutter — send, verify, and zero-tap auto-fill one-time passwords via Android SMS Retriever and iOS keyboard suggestions.

Topics

#otp #authentication #sms #autofill

License

MIT (license)

Dependencies

dio, equatable, flutter, otp_autofill

More

Packages that depend on beon_otp_sdk