android_otp_kit 0.1.0
android_otp_kit: ^0.1.0 copied to clipboard
Android OTP login in one package: Phone Number Hint, SMS Retriever (zero-tap), SMS User Consent fallback, app hash helper + CLI, and a self-filling OTP field.
0.1.0 #
- Phone Number Hint (
requestPhoneNumberHint). Numbers that come back with a wrong country code (the SIM stores the number without+, and Play services reads it using the phone's language region, e.g.+1on English (US) or+44on English (UK)) are corrected using the SIM's country. Valid numbers are never changed. - SMS Retriever and SMS User Consent via
listenForSms/waitForSms. A timeout left over from an earlier, abandoned request no longer ends a new one (for example after "Resend OTP"). - App hash on device (
getAppSignatures) and viadart run android_otp_kit:app_hash. OtpTextField: pin-style field with per-stateOtpBoxThemes (outlined, circle, underlined and filled presets), blinking cursor in the active box, tap-to-edit any box, backspace that clears only the active box, paste menu, separators, obscuring, hint character, validator and error display, customboxBuilderwith the publicOtpCursor, and automatic SMS fill.extractOtphelper.
