agarrec-vivlio / react-native-zip-stream

React Native module for streaming files from ZIP archives.
MIT License
9 stars 1 forks source link

Complete Implementation of Key ZIP Archive Functions with Progress Tracking #2

Closed agarrec-vivlio closed 2 months ago

agarrec-vivlio commented 2 months ago

This PR introduces a comprehensive set of updates to the react-native-zip-stream module, providing full implementations of essential ZIP archive functions. The key additions and improvements include:

Implemented Functions

  1. unzipFile

    • Extracts all contents of a ZIP file to a specified destination directory, ensuring consistent functionality across both iOS and Android platforms.
  2. createZipFile

    • Enables the creation of a new ZIP file from the contents of a specified directory, providing a straightforward way to archive files programmatically.
  3. unzipFileWithProgress

    • Introduces progress tracking during the extraction of ZIP files, making it easier to manage and monitor the extraction process, especially for large archives.

Code Enhancements