This repository has been archived on 2022-03-12. You can view files and clone it, but cannot push or open issues or pull requests.
2021-04-02 02:24:13 +03:00

1.8 KiB

expo-file-system

Provides access to the local file system on the device.

API documentation

Installation in managed Expo projects

For managed managed Expo projects, please follow the installation instructions in the API documentation for the latest stable release.

Installation in bare React Native projects

For bare React Native projects, this package is included in react-native-unimodules. Please refer to those installation instructions to install this package.

Installation in bare iOS React Native project

Apart from following those steps, make sure your AppDelegate extends UMAppDelegateWrapper as shown here.

Installation in bare Android React Native project

This module requires permissions to interact with the filesystem and create resumable downloads. The READ_EXTERNAL_STORAGE, WRITE_EXTERNAL_STORAGE and INTERNET permissions are automatically added.

<!-- Added permissions -->
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.INTERNET" />

Contributing

Contributions are very welcome! Please refer to guidelines described in the contributing guide.