path_provider_tvos
tvOS (Apple TV) implementation of the path_provider Flutter plugin, provided by flutter-tvos.
0.0.3
40K downloads/mo
#1621 most downloaded on pub.dev
fluttertv/plugins
What this package is like to depend on
Last release 1 months ago
21 Jul 2026
Ships fairly regularly
a new release about every 4 weeks
Nearly every release is documented
notes for 3 of 3 stable releases
Nothing withdrawn
no release was ever pulled
3 months old
3 releases · first in 2026
3 releases in the last 12 months
see the full history below
Release timeline
3 releases · May 2026 to Jul 2026Releases
latest 3-
0.0.321 Jul 2026Release notes
Open source →- Fix:
getApplicationSupportDirectory()no longer returns a path that does not exist. The tvOS sandbox refuses to createLibrary/Application Support, and that failure was swallowed (try?), so callers received a path and only discovered the problem at their first write. It now returnsnull, whichpath_providersurfaces asMissingPlatformDirectoryExceptionat the call site. - Docs: corrected the claim that tvOS has "a normal app sandbox" where the
standard lookups work unchanged. Verified on a physical Apple TV 4K
(tvOS 26.5): only
Library/Cachesandtmpare writable — writes toDocumentsare denied, andLibrary/Application Supportcannot be created. The tvOS simulator permits all of these, which is why this went unnoticed. getApplicationDocumentsDirectory()now logs a one-time warning on tvOS. The path is still returned — Documents exists and reads work — but writes to it fail on a physical Apple TV, and silently handing back a path for the most commonpath_providercall made that failure hard to trace.- Behaviour change: apps calling
getApplicationSupportDirectory()on tvOS now get an exception instead of an unusable path. Switch togetApplicationCacheDirectory(), and note that tvOS storage is purgeable by platform contract — durable data belongs on a server or in iCloud key-value storage.
- Fix:
-
0.0.211 Jun 2026Release notes
Open source →- Add Swift Package Manager support: ships a
tvos/Package.swiftso the package can be consumed via SwiftPM (the Flutter 3.44 default) alongside the existing CocoaPods podspec. No API or behaviour change.
- Add Swift Package Manager support: ships a
-
0.0.124 May 2026Release notes
Open source →Initial release — hand-written, maintained tvOS implementation of
path_providerfor flutter-tvos. Upstreampath_provider_foundationis adart:ffi/ native-assets plugin that the tvOS toolchain cannot build, so this package is not generated output — it is a thin native (NSSearchPath…/NSTemporaryDirectory) implementation answering the same method-channel contract.- Supported:
getTemporaryDirectory(),getApplicationDocumentsDirectory(),getApplicationSupportDirectory()(auto-created),getApplicationCacheDirectory()(auto-created),getLibraryDirectory(). - Not supported on tvOS:
getDownloadsDirectory()returnsnull(no user Downloads dir in the tvOS sandbox);getExternalStoragePath*/getExternalCachePathsthrowUnsupportedError(Android-only, same as iOS).
Verified end-to-end on a physical Apple TV via
video_player_tvos(14/14 integration tests). SeeREADME.mdandPORTING_REPORT.mdfor detail. - Supported: