path_provider_tvos
tvOS implementation of path_provider
for flutter-tvos.
Hand-written, maintained tvOS implementation. The upstream
path_provider_foundationis a dart:ffi/native-assets plugin that the tvOS toolchain cannot build, so this is not generated output. Verified: exercised on a physical Apple TV viavideo_player_tvos(14/14).
Usage
dependencies:
path_provider: ^2.x
path_provider_tvos: ^0.0.1
tvOS support
✅ Supported
getTemporaryDirectory()—NSTemporaryDirectory()getApplicationDocumentsDirectory()— appDocuments/getApplicationSupportDirectory()—Library/Application Support/(auto-created)getApplicationCacheDirectory()—Library/Caches/(auto-created)getLibraryDirectory()— appLibrary/
❌ Not supported on tvOS
getDownloadsDirectory()→ returnsnull(no user Downloads dir).getExternalStorage*→UnsupportedError(Android-only, same as iOS).
See PORTING_REPORT.md for detail.