Home / Companies / Expo / Blog / Post Details
Content Deep Dive

Expo File System gets a major upgrade in SDK 54

Blog post from Expo

Post Details
Company
Date Published
Author
Aleksander Mikucki
Word Count
1,046
Company Posts That Month
8
Language
English
Hacker News Points
-
Post removed?
No
Summary

The Expo team has promoted the new file system module, initially released in SDK 52 as expo-file-system/next, to a stable version in SDK 54, encouraging users to migrate from the older API, which remains available under expo-file-system/legacy for a limited time. The updated module introduces a more object-oriented approach with File and Directory classes, simplifying operations by eliminating the need to manually concatenate path strings and allowing for method chaining. It enhances developer experience through improved code suggestions and supports various data inputs, including strings, base64, and binary data. The module integrates the Blob interface, facilitating compatibility with existing packages and enabling seamless use with expo/fetch for downloading and uploading files. Additionally, the API incorporates Android's SAF and iOS's Security Scoped Resources, providing built-in file selection capabilities while maintaining compatibility with expo-document-picker. Although the Web platform poses challenges due to its limited file access capabilities, the Expo team is considering unifying the File API across iOS, Android, and Web, seeking community feedback to inform this potential development. The team encourages user feedback and participation in discussions regarding the new API's features and functionality.

Trends Found in this Post

No tracked trend matches for this post yet.

Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.