Releases: alexandre-garrec/react-native-zip-stream
Releases · alexandre-garrec/react-native-zip-stream
Release 1.0.7
Release Notes - v1.0.7
New Features
-
Expo Compatibility:
We've added Expo compatibility for thereact-native-zip-streammodule! 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 prebuildto generate the necessary native code.
This ensures proper permissions for accessing and manipulating ZIP files in both the Android and iOS document directories.
- Add the dependency:
Bug Fixes
- Fixed Variable Shadowing in
plugin.js:
Resolved an issue where theconfigvariable was being shadowed in theplugin.jsfile, which caused linter warnings. The variable names have been updated to prevent conflicts and ensure proper functionality:- Renamed inner
configvariables toandroidConfigandiosConfig.
- Renamed inner
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.