iOS unzipping not working after upgrading to v7
Describe the bug i am using a node js server to unzip the files and using a library called unzipper. Before upgrading by react native version is v6.0.1 is working fine but after upgrade iOS is causing the issue. It is unzipping fine in my mac. But not unzipping in server.
https://www.npmjs.com/package/unzipper
Error: invalid signature: 0x6e7a0 at /var/task/node_modules/unzipper/lib/parse.js:66:26 at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
To Reproduce Steps to reproduce the behavior:
-
Use below two zip created from v7 1.1. andriod - part-1.zip 1.2.iOS(Error) - part-2.zip
-
Use below two zip created from v6 2.1. android - part-3.zip 2.2. iOS - part-4.zip
Expected behavior Expected to work normally
Env (please complete the following information):
- Device: iPhone 11
- OS: iOS 18.1
- xcode:16.2
- Package Version: 7.0.1
- react native:0.76.6
- react: 18.3.1
- Arch: Old
@plrthink please look into it. It creating issue for iOS users
Can someone look into this issue..
Same here! I get an error failed to open zip file
Having the same issue
Device: iPhone 12 Pro OS: 26.1 Xcode: 26.1.1 Package vers: 7.0.2 react Native: 0.81.4
My bad, I had to use decodeURIComponent to decode URL-encoded characters. My path had symbols like %20.