Skip to content

v2.21.0-alpha.3

Compare
Choose a tag to compare
@birdofpreyru birdofpreyru released this 24 Aug 10:59
· 195 commits to master since this release

Changes in v2.21.0-alpha.3

  • These functions have been verified and patched to work on all platforms: copyFile(), getFSInfo(), moveFile(), read(), readdir(), readDir(), stat().
  • Android: Patches the handling of path-to-URI transformation, which is used in several functions — Thanks to PR #6 by @IanOpenSpace

The aim for upcoming v2.21.0 release is to bring the previous latest react-native-fs v2.20.0 up to the standards of the latest React Native v0.72.x, without breaking API changes, with support of the new RN architecture, with backward compatibility to the old RN architecture, and on all supported platforms: Android, iOS, macOS (Catalyst), Windows. Also documentation revision.

As of v2.21.0-alpha.3:

  • The core library setup and the code base as a whole have been refactored for RN v0.72.x standards.
  • The following pieces of the library have been tested to work correctly (no warranty that no bugs have been missed) on all supported platforms:
    • All path constants.
    • These selected functions: copyFile(), copyFileAssets(), exists(), existsAssets(), getFSInfo(), mkdir(), moveFile(), read(), readdir(), readDir(), readDirAssets(), readFile(), readFileAssets(), stat(), unlink(), writeFile().
    • The rest of functions may or may not work.