Open EvPut opened 7 months ago
This problem arose when unpacking the archive on the device, please tell me what could be the problem?
`let data = await Filesystem.readFile({ path: 'mapData/map1.zip', directory: Directory.Documents encoding: Encoding.UTF8, });
let zipContent = await JSZip.loadAsync(data.data);`
Error: End of data reached (data length = 1383041, asked index = 1383042). Corrupted zip ?
Thanks in advance.
This problem arose when unpacking the archive on the device, please tell me what could be the problem?
`let data = await Filesystem.readFile({ path: 'mapData/map1.zip', directory: Directory.Documents encoding: Encoding.UTF8, });
let zipContent = await JSZip.loadAsync(data.data);`
Error: End of data reached (data length = 1383041, asked index = 1383042). Corrupted zip ?
Thanks in advance.