Skip to content

v0.0.1

Choose a tag to compare

@tankhang1 tankhang1 released this 08 Apr 16:02
· 28 commits to main since this release

Initial public release of react-native-filesystem.

Highlights

  • Added cross-platform local filesystem support for Expo / React Native
  • Added text file read and write APIs
  • Added directory creation and directory listing APIs
  • Added file metadata lookup with stat
  • Added file existence, delete, move, and copy operations
  • Added typed directory helpers for Documents and custom paths
  • Added Android Downloads support
  • Added iOS Files export support through the native Files picker
  • Added example app coverage and updated package documentation

Included APIs

  • getDocumentsDirectory()
  • exists(path)
  • readFile(path)
  • writeFile(path, contents)
  • writeFileToDownloads(filename, contents, mimeType?)
  • deleteFile(path)
  • mkdir(path)
  • readdir(path)
  • stat(path)
  • move(from, to)
  • copy(from, to)

Notes

  • On Android, writeFileToDownloads(...) writes directly to Downloads.
  • On iOS, writeFileToDownloads(...) opens the Files picker so the user can choose where to save.
  • Removed the default template/demo APIs so the package now focuses on real filesystem features only.

Support