Using compression on IOS is very slow
Opened this issue · 3 comments
liusshuai commented
String zipDir(String path) {
print('compression start');
var encode = ZipFileEncoder();
encode.zipDirectory(Directory(path), filename: path + '.zip');
print('compression end');
return path + '.zip';
}
liusshuai commented
flutter version 1.5.8
archive version 2.0.11
PichuChen commented
Hello @liusshuai
Do you have sample file which you compress and how does it cost?
nawbc commented
the same on android, 160mb folder, i write the flutter plugin basing on the java package(zip4j) that spends about 15s, this pakage spends more than 40s