Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributesecure_shared_preferences

Encrypt shared preferences on Android and UserDefaults on iOS using AES-CBC-128.

pub.devRemove
shared_preference_app_group

Shared preferences for iOS and macOS App Groups using NSUserDefaults.

pub.devRemove
ScoresHealth4164 (best)
Maintenance039 (best)
Quality9197 (best)
Popularity2257 (best)
Community4169 (best)
Compatibility84 (best)75
UsageDownloads (30 days)42328k (best)
Likes25 (best)22
Pub points140 / 160160 / 160 (best)
GitHub stars510 (best)
MaintenanceLatest release0.0.4, 5 years ago2.1.0, 6 months ago (best)
Major versions in 12 months0 (best)1
Contributors16 (best)
Publisherflutter.pingtobuild.compaaatrick.com
FitPlatformsAndroid, iOS, macOSiOS, macOS
WASM-readyNoYes
KindFlutter widgetsPlugin (native code)
Code generationNoNo
Direct dependencies50 (best)
LicenseAPACHE-2.0BSD-3-CLAUSE
Setup effortLowMedium
JudgementStrengths
  • Encrypts both keys and values using AES-CBC-128
  • Supports multiple data types including maps and lists
  • Allows bypassing encryption per entry via a boolean parameter
  • Enables seamless data sharing across iOS and macOS App Groups
  • Supports Swift Package Manager and CocoaPods
Weaknesses
  • Relies on older or mixed underlying dependencies like package_info
  • Limited documentation beyond basic read/write examples
  • Limited to iOS and macOS platforms
  • Requires manual native entitlements and App Sandbox configuration
WarningsNone
  • Native setup
secure_shared_preferences vs shared_preference_app_group: which Flutter package should you use? | pubscout