shared_preferences_tvos 0.0.1 copy "shared_preferences_tvos: ^0.0.1" to clipboard
shared_preferences_tvos: ^0.0.1 copied to clipboard

tvOS (Apple TV) implementation of the shared_preferences Flutter plugin, provided by flutter-tvos.

shared_preferences_tvos #

tvOS implementation of shared_preferences for flutter-tvos (port of shared_preferences_foundation).

Hand-finished from flutter-tvos plugin port. Verified: 63/63 integration tests pass on a physical Apple TV.

Usage #

shared_preferences does not yet endorse a tvOS implementation, so add this package directly alongside it:

dependencies:
  shared_preferences: ^2.x
  shared_preferences_tvos: ^0.0.1

Use shared_preferences exactly as on iOS — the tvOS implementation registers automatically (it is NSUserDefaults-backed).

tvOS support #

✅ Supported #

  • Full legacy API: getString/Bool/Int/Double/StringList, set*, remove, clear, getKeys, reload.
  • Full SharedPreferencesAsync / withCache API.
  • Persistence across launches (backed by NSUserDefaults, which exists on tvOS).

❌ Not supported on tvOS #

  • None. This plugin is fully functional on tvOS.

See PORTING_REPORT.md for the port detail and checklist.

0
likes
140
points
49
downloads

Documentation

API reference

Publisher

verified publisherfluttertv.dev

Weekly Downloads

tvOS (Apple TV) implementation of the shared_preferences Flutter plugin, provided by flutter-tvos.

Homepage
Repository (GitHub)
View/report issues

License

BSD-3-Clause (license)

Dependencies

flutter, shared_preferences_platform_interface

More

Packages that depend on shared_preferences_tvos

Packages that implement shared_preferences_tvos