Skip to content

Releases: alexandre-garrec/react-native-zip-stream

Release 1.0.7

13 Sep 02:34

Choose a tag to compare

Release Notes - v1.0.7

New Features

  • Expo Compatibility:
    We've added Expo compatibility for the react-native-zip-stream module! You can now use this module within an Expo project with the following steps:

    • Add the dependency:
      expo install react-native-zip-stream
    • Add the plugin configuration to your app.json:
      {
        "expo": {
          "plugins": [
            "./node_modules/react-native-zip-stream/plugin"
          ]
        }
      }
    • Run expo prebuild to generate the necessary native code.

    This ensures proper permissions for accessing and manipulating ZIP files in both the Android and iOS document directories.

Bug Fixes

  • Fixed Variable Shadowing in plugin.js:
    Resolved an issue where the config variable was being shadowed in the plugin.js file, which caused linter warnings. The variable names have been updated to prevent conflicts and ensure proper functionality:
    • Renamed inner config variables to androidConfig and iosConfig.

Instructions for Expo Users

Expo users must run expo prebuild to generate the native code required for their projects. The module now supports document storage access via WRITE_EXTERNAL_STORAGE and READ_EXTERNAL_STORAGE permissions on Android and appropriate access to the documents directory on iOS.