PackageTrack
Sign in Get early access

shared_preferences_android

Android implementation of the shared_preferences plugin

2.4.27 6.3M downloads/mo #115 most downloaded on pub.dev flutter/packages

What this package is like to depend on

Last release 1 months ago

13 Jul 2026

Ships fairly regularly

a new release about every 4 weeks

Nearly every release is documented

notes for 51 of 51 stable releases

1 version withdrawn

withdrawn after publishing

5 years old

52 releases · first in 2021

14 releases in the last 12 months

see the full history below

Release timeline

52 releases · Nov 2021 to Jul 2026
2022 2023 2024 2025 2026
Release Pre-release Withdrawn

Releases

latest 52
  1. 2.4.27 13 Jul 2026
    Release notes
    • Converts legacy backend to Kotlin.
    Open source →
  2. 2.4.26 10 Jun 2026
    Release notes
    • Updates internal implementation to use Kotlin Pigeon.
    Open source →
  3. 2.4.25 02 Jun 2026
    Release notes
    • Bumps the test-dependencies group across 2 directories with 1 update.
    • Updates minimum supported SDK version to Flutter 3.38/Dart 3.10.
    Open source →
  4. 2.4.24 02 Jun 2026
    Release notes
    • Migrates to Built-in Kotlin to support AGP 9.
    • Updates minimum supported SDK version to Flutter 3.44/Dart 3.12.
    Open source →
  5. 2.4.23 25 Mar 2026
    Release notes
    • Fixes dartdoc comments that accidentally used HTML.
    Open source →
  6. 2.4.22 25 Mar 2026
    Release notes
    • Updates build files from Groovy to Kotlin.
    Open source →
  7. 2.4.21 26 Feb 2026
    Release notes
    • Reverts androidx.datastore:datastore to 1.1.7 due to a regression 16 KB page size support in 1.2.0.
    • Updates minimum supported SDK version to Flutter 3.35/Dart 3.9.
    Open source →
  8. 2.4.20 26 Jan 2026
    Release notes
    • Bumps androidx.datastore:datastore from 1.1.7 to 1.2.0.
    Open source →
  9. 2.4.18 01 Dec 2025
    Release notes
    • Bumps kotlin_version to 2.2.21.
    Open source →
  10. 2.4.17 21 Nov 2025
    Release notes
    • Bumps com.android.tools.build:gradle from 8.12.1 to 8.13.1.
    Open source →
  11. 2.4.16 17 Nov 2025
    Release notes
    • Updates to Pigeon 26.
    • Updates minimum supported SDK version to Flutter 3.32/Dart 3.8.
    Open source →
  12. 2.4.15 08 Oct 2025
    Release notes
    • Resolves Gradle 9 deprecations.
    Open source →
  13. 2.4.14 02 Oct 2025
    Release notes
    • Updates Java compatibility version to 17.
    • Updates minimum supported SDK version to Flutter 3.35/Dart 3.9.
    Open source →
  14. 2.4.13 22 Sep 2025
    Release notes
    • Bumps androidx.datastore:datastore from 1.1.3 to 1.1.7.
    Open source →
  15. 2.4.12 27 Aug 2025
    Release notes
    • Bumps com.android.tools.build:gradle to 8.12.1 and kotlin_version to 2.2.10.
    • Updates minimum supported SDK version to Flutter 3.29/Dart 3.7.
    Open source →
  16. 2.4.11 07 Aug 2025
    Release notes
    • Updates kotlin version to 2.2.0 to enable gradle 8.11 support.
    Open source →
  17. 2.4.10 19 Apr 2025
    Release notes
    • Removes obsolete code related to supporting SDK <21.
    Open source →
  18. 2.4.9 09 Apr 2025
    Release notes
    • Enables callers to use getInt to read preference of type int that was written to shared preferences by native code without passing though plugin code.
    Open source →
  19. 2.4.8 06 Mar 2025
    Release notes
    • Updates compileSdk 34 to flutter.compileSdkVersion.
    Open source →
  20. 2.4.7 05 Mar 2025
    Release notes
    • Updates datastore to 1.1.3.
    Open source →
  21. 2.4.6 19 Feb 2025
    Release notes
    • Ensures that platform messages on background queues are handled in order.
    Open source →
  22. 2.4.5 11 Feb 2025
    Release notes
    • Bumps gradle-plugin to 2.1.10.
    Open source →
  23. 2.4.4 27 Jan 2025
    Release notes
    • Restores the behavior of throwing a TypeError when calling getStringList on a value stored with setString.
    Open source →
  24. 2.4.3 24 Jan 2025
    Release notes
    • Migrates List<String> value encoding to JSON.
    Open source →
  25. 2.4.2 17 Jan 2025
    Release notes
    • Bumps gradle-plugin to 2.1.0.
    Open source →
  26. 2.4.1 10 Jan 2025
    Release notes
    • Bumps kotlin version to 1.9.10 androidx.datastore:datastore from 1.0.0 to 1.1.1.
    Open source →
  27. 2.4.0 13 Dec 2024
    Release notes
    • Adds SharedPreferences support within SharedPreferencesAsyncAndroid API.
    Open source →
  28. 2.3.4 02 Dec 2024
    Release notes
    • Restrict types when decoding preferences.
    Open source →
  29. 2.3.3 05 Oct 2024
    Release notes
    • Updates Java compatibility version to 11.
    • Updates minimum supported SDK version to Flutter 3.24/Dart 3.5.
    Open source →
  30. 2.3.2 25 Aug 2024
    Release notes
    • Bumps com.android.tools.build:gradle from 7.2.2 to 8.5.1.
    Open source →
  31. 2.3.1 09 Aug 2024
    Release notes
    • Fixes getStringList returning immutable list.
    Open source →
  32. 2.3.0 30 Jul 2024
    Release notes
    • Adds new SharedPreferencesAsyncAndroid API.
    Open source →
  33. 2.2.4 26 Jul 2024
    Release notes
    • Updates lint checks to ignore NewerVersionAvailable.
    Open source →
  34. 2.2.3 28 May 2024
    Release notes
    • Updates minimum supported SDK version to Flutter 3.22/Dart 3.4.
    • Removes support for apps using the v1 Android embedding.
    Open source →
  35. 2.2.2 12 Apr 2024
    Release notes
    • Updates minSdkVersion to 19.
    • Updates minimum supported SDK version to Flutter 3.16/Dart 3.2.
    • Updates compileSdk version to 34.
    • Updates mockito to 5.2.0.
    Open source →
  36. 2.2.1 30 Aug 2023
    Release notes
    • Adds pub topics to package metadata.
    • Updates minimum supported SDK version to Flutter 3.7/Dart 2.19.
    • Deletes deprecated splash screen meta-data element.
    Open source →
  37. 2.2.0 29 Jun 2023
    Release notes
    • Adds clearWithParameters and getAllWithParameters methods.
    • Updates minimum supported SDK version to Flutter 3.3/Dart 2.18.
    Open source →
  38. 2.1.4 28 Apr 2023
    Release notes
    • Fixes compatibility with AGP versions older than 4.2.
    Open source →
  39. 2.1.3 26 Apr 2023
    Release notes
    • Adds a namespace for compatibility with AGP 8.0.
    Open source →
  40. 2.1.2 14 Apr 2023
    Release notes
    • Sets the required Java compile version to 1.8 for new features used in 2.1.1.
    Open source →
  41. 2.1.1 13 Apr 2023 withdrawn
    Release notes
    • Updates minimum Flutter version to 3.0.
    • Converts implementation to Pigeon.
    Open source →
  42. 2.1.0 31 Mar 2023
    Release notes
    • Adds getAllWithPrefix and clearWithPrefix methods.
    Open source →
  43. 2.0.17 08 Mar 2023
    Release notes
    • Clarifies explanation of endorsement in README.
    • Aligns Dart and Flutter SDK constraints.
    • Updates compileSdkVersion to 33.
    Open source →
  44. 2.0.16 22 Feb 2023
    Release notes
    • Updates links for the merge of flutter/plugins into flutter/packages.
    • Updates minimum Flutter version to 3.0.
    Open source →
  45. 2.0.15 20 Jan 2023
    Release notes
    • Updates code for stricter lint checks.
    Open source →
  46. 2.0.14 14 Oct 2022
    Release notes
    • Fixes typo in SharedPreferencesAndroid docs.
    • Updates code for no_leading_underscores_for_local_identifiers lint.
    Open source →
  47. 2.0.13 06 Sep 2022
    Release notes
    • Updates gradle to 7.2.2.
    • Updates minimum Flutter version to 2.10.
    Open source →
  48. 2.0.12 10 May 2022
    Release notes
    • Fixes library_private_types_in_public_api, sort_child_properties_last and use_key_in_widget_constructors lint warnings.
    Open source →
  49. 2.0.11 09 Feb 2022
    Release notes
    • Switches to an in-package method channel implementation.
    Open source →
  50. 2.0.10 10 Jan 2022
    Release notes
    • Removes dependency on meta.
    Open source →
  51. 2.0.9 22 Nov 2021
    Release notes
    • Updates compileSdkVersion to 31.
    Open source →
  52. 2.0.8 19 Nov 2021
    Release notes
    • Split from shared_preferences as a federated implementation.
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive