[ Package conformance ]
Storage & Data · >=15.0.0
expo-file-system
both APIs implemented over one shared synchronous localStorage VFS: the SDK-18+ class-based File/Directory/Paths API (the bare `expo-file-system` export on SDK 18+) and the legacy async API (`expo-file-system/legacy`), with real network ops via fetch + navigator.storage. legacy and new interoperate on the same filesystem. paired native and SootSim runtime conformance verifies the published DownloadResumable class identity, savable state, and cancel-before-start behavior; the score stays at 90% because active-transfer control remains unsupported.90%
API coverage
No visual conformance cases have been published for this package yet. The registry summary below describes what the compat layer implements.
Working (61)
SDK-18+ class API: Paths (document/cache/bundlejoin/basename/extname/dirname)File (existssizemd5nameextensionparentDirectorycreatewrite text|bytestext(Sync)base64(Sync)bytes(Sync)arrayBufferslicestreamdeleteinfocopymove/renameopen FileHandlestatic downloadFileAsync/pickFileAsync)Directory (existscreatecreateFilecreateDirectorylistinfodeletecopymovestatic pickDirectoryAsync). Legacy API: documentDirectorycacheDirectorybundleDirectoryEncodingTypeFileSystemSessionTypeFileSystemUploadTypeFileSystemAcceptedUploadHttpMethodreadAsStringAsyncwriteAsStringAsyncdeleteAsyncgetInfoAsyncmakeDirectoryAsyncreadDirectoryAsynccopyAsyncmoveAsyncdownloadAsynccreateDownloadResumable (published DownloadResumable class with fileUri/savable state and cancel-before-start)uploadAsync (real fetch with binary or multipart body)createUploadTaskUploadTask class (uploadAsynccancelAsyncfires completion callback)getFreeDiskStorageAsync (navigator.storage.estimate quota - usage)getTotalDiskCapacityAsync (navigator.storage.estimate quota)getContentUriAsync (returns uri unchanged — Android-only behavior)StorageAccessFramework namespace stub (Android-only methods throw with platform error). All upstream legacy types exported: FileSystemUploadOptionsFileSystemUploadResultUploadProgressDataDownloadProgressDataFileSystemNetworkTaskProgressCallback.
Missing (4)
in-flight DownloadResumable pauseresumecancellationand streamed download progress; chunked upload progress events (fetch does not expose upload progress)