We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
On iOS the unzip progress works correctly. No Android only works from 0 to 1. Is that the same way it works?
The text was updated successfully, but these errors were encountered:
a similar problem
Sorry, something went wrong.
Similar problem
react-native@0.73.9 react-native-zip-archive@7.0.1
While trying to display unzip progress of a folder (complex tree hierarchy inside) on android it's value is not updated until it has reached 1
Code:
const [unzipProg, setUnzipProg] = useState(0); useEffect(() => { const zipSubscribe = subscribeToZipArchive(({ progress, filePath }) => { setUnzipProg(progress); console.log('effect unzip progress ', progress) return () => { zipSubscribe.remove(); }; }); }); ... unzip(sourcePath, targetPath) .then((path) => { console.log(`unzip completed`) }) .catch((error) => { console.error(error) })
UPD 28.10.24 Rollback to version 5.0.6 seems to fix that problem but now I have to use npm install --legacy-peer-deps
npm install --legacy-peer-deps
Fixed here: #322
No branches or pull requests
On iOS the unzip progress works correctly. No Android only works from 0 to 1. Is that the same way it works?
The text was updated successfully, but these errors were encountered: