Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributeflutter_secure_storage

Secure key-value storage using platform-specific secure mechanisms

pub.devRemove
shared_preferences_android

Android backend for the shared_preferences plugin, storing key‑value data on Android devices.

pub.devRemove
ScoresHealth93 (best)84
Maintenance8895 (best)
Quality100 (best)91
Popularity98 (best)74
Community8080
Compatibility100 (best)67
UsageDownloads (30 days)6.5M9.7M (best)
Likes4.5k (best)21
Pub points160 / 160 (best)140 / 160
GitHub stars1.3k5.3k (best)
MaintenanceLatest release11.2.0, 2 months ago2.5.5, 10 days ago (best)
Major versions in 12 months00
Contributors100+100+
Publishersteenbakker.devflutter.dev
FitPlatformsAndroid, iOS, Web, Windows, macOS, LinuxAndroid
WASM-readyYesYes
KindPlugin (native code)Plugin (native code)
Code generationNoNo
Direct dependencies63 (best)
LicenseBSD-3-CLAUSEBSD-3-CLAUSE
Setup effortMediumLow
JudgementStrengths
  • Built-in encryption with RSA OAEP + AES-GCM
  • Cross-platform support with native APIs
  • Optional biometric authentication and accessibility options
  • Official endorsed federated plugin
  • Supports both Android SharedPreferences and DataStore backends
  • Zero‑config when using shared_preferences
Weaknesses
  • Web support limited to HTTPS or localhost
  • Requires native configuration (e.g., disabling backup on Android)
  • No built-in migration for schema changes
  • Android‑only; no effect on iOS, web, etc.
  • Adds native Kotlin/JNI layer, increasing app size
Warnings
  • Native setup
  • Native setup
flutter_secure_storage vs shared_preferences_android: which Flutter package should you use? | pubscout