Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support
Skip to main content
@amazon-devices/expo-file-system provides access to file system of the device. It is also capable of downloading and uploading files from network URLs.

Installation

  1. Add the JavaScript library dependency in the package.json file.
  2. Reinstall dependencies using the npm install command.

Examples

This example demonstrates how to write text to a file.
The example below demonstrates how to download or upload a file.

API reference

See the documentation page for information about this library and API reference: Official Expo documentation for expo-file-system.

Constants

These constants are URIs pointing to a directory.

Methods

Classes

The following classes aren’t supported on Vega.

Supported URI schemes

In this table, you can see what type of URI can be handled by each method.

Known issues and limitations

On Vega, getTotalDiskCapacityAsync always returns 0.

Supported versions

Supported Third-Party Libraries and Services.
Last modified on September 30, 2025