beon_otp_sdk 1.0.0
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(aValueNotifier<String?>). The listener is armed automatically insidesendOtpbefore 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.