Skip to content

v0.0.3

Choose a tag to compare

@tankhang1 tankhang1 released this 09 Apr 15:46
· 17 commits to main since this release

What's new

This release adds remote file download support and improves the example app and documentation.

Highlights

  • Added downloadFile(url, destinationPath) for downloading files from http and https URLs
  • Implemented native download support for both Android and iOS
  • Improved the example app with a cleaner demo flow, drawer navigation, and better feature organization
  • Added inline action feedback and toast notifications in the example app
  • Refactored the example app into a smaller and more maintainable file structure
  • Updated the README with clearer step-by-step usage, FAQ, support, contributing, security, and license sections
  • Bumped package version to 0.0.3

Notes

  • readFile() is intended for UTF-8 text files
  • for binary files such as images, PDFs, or videos, use downloadFile() but do not read them back with readFile()

Example

const result = await ReactNativeFilesystem.downloadFile(
  'https://example.com/file.txt',
  destinationPath
);