Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributeotp_autofill

Android and iOS OTP autofill plugin using SMS User Consent and Retriever APIs.

pub.devRemove
sms_autofill

Flutter plugin to provide SMS code autofill support.

pub.devRemove
ScoresHealth5080 (best)
Maintenance371 (best)
Quality9191
Popularity8194 (best)
Community8080
Compatibility73 (best)66
UsageDownloads (30 days)32k218k (best)
Likes293881 (best)
Pub points140 / 160140 / 160
GitHub stars113295 (best)
MaintenanceLatest release4.1.0, 2 years ago2.6.1, 2 months ago (best)
Major versions in 12 months00
Contributors1925 (best)
Publishersurf.rujaumard.com
FitPlatformsAndroid, iOSAndroid
WASM-readyNoYes
KindPlugin (native code)Plugin (native code)
Code generationNoNo
Direct dependencies0 (best)3
LicenseAPACHE-2.0MIT
Setup effortLowLow
JudgementStrengths
  • Supports both SMS User Consent API and SMS Retriever API on Android.
  • Includes helper classes like OTPTextEditController and OTPInteractor for quick implementation.
  • Allows custom strategies (e.g., push notifications or testing).
  • No permission to read SMS messages is required.
  • Provides pre-built widgets like PinFieldAutoFill and TextFieldPinAutoFill.
Weaknesses
  • Requires manual setup of native minimum SDK version on Android.
  • Relies on parsing SMS text formats correctly via regular expressions.
  • Requires specific SMS formatting rules on the backend (ending with an 11-character hash string).
  • Primarily targets Android since iOS handles SMS autofill natively.
Warnings
  • Native setup
  • Native setup
otp_autofill vs sms_autofill: which Flutter package should you use? | pubscout