react-native-zip-archive icon indicating copy to clipboard operation
react-native-zip-archive copied to clipboard

ailed to extract file Zip file size less than minimum expected z

Open elkhiari opened this issue 1 year ago • 2 comments

Describe the bug [ react-native-zip-archive](console.error: error Error: Failed to extract file Zip file size less than minimum expected zip file size. Probably not a zip file or a corrupted zip file, js engine: hermes)

const unzipWithProgress = async ( zipFilePath: string, unzipDestination: string, dispatch: any ) => { const progressSubscription = subscribe(({ progress }) => { const progressPercentage = progress * 100; console.log(Unzipping progress: ${progressPercentage}%); dispatch(updateProgress(progressPercentage)); // Dispatch progress updates }); try { await unzip(zipFilePath, unzipDestination); } catch (error) { console.error("Unzipping failed", error); throw error; } finally { progressSubscription.remove(); } }; info size is more than 200mb

elkhiari avatar Sep 20 '24 09:09 elkhiari

Could you attach the file? so I can debug with it.

plrthink avatar Sep 21 '24 05:09 plrthink

And you're operating on Android or iOS? and also the system version and the RN version?

plrthink avatar Sep 21 '24 05:09 plrthink