You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I've noticed that the plugin was extracting files with the wrong path separator.
The output directory is cordova.file.dataDirectory and the plugin extracted the files to ../media\text\text.txt instead of ../media/text/text.txt so I have errors reading these files.
I temporary fix this by replacing the path separator in the src file: (outputDirectory + compressedName).replace('\\', '/')
In addition, any chance to add a check for the already extracted files? It extracts all the files every time I call the zip method.
Best regards.
The text was updated successfully, but these errors were encountered:
Hi, I've noticed that the plugin was extracting files with the wrong path separator.
The output directory is cordova.file.dataDirectory and the plugin extracted the files to ../media\text\text.txt instead of ../media/text/text.txt so I have errors reading these files.
I temporary fix this by replacing the path separator in the src file:
(outputDirectory + compressedName).replace('\\', '/')
In addition, any chance to add a check for the already extracted files? It extracts all the files every time I call the zip method.
Best regards.
The text was updated successfully, but these errors were encountered: