I`m having difficulty getting a file to unzip. I can see the zip file in the folder using Log(File.ListFiles(File.DirTemp)) but my results are:
Error unzipping file: Error Domain=SSZipArchiveErrorDomain Code=-1 "failed to open zip file" UserInfo=0x19e8e600 {NSLocalizedDescription=failed to open zip file}
Unzip_unzipdone is triggered but success is always false.
I`ve also tried using DirDocuments but I get the same results.
Hope you can help.
Thank you,
Mike.
B4X:
Zip.Unzip(File.DirTemp, "POI.zip", File.DirTemp, "")
Error unzipping file: Error Domain=SSZipArchiveErrorDomain Code=-1 "failed to open zip file" UserInfo=0x19e8e600 {NSLocalizedDescription=failed to open zip file}
B4X:
Zip.AsyncUnzip(File.DirTemp, "POI.zip", File.DirTemp, "", "UnZip")
Unzip_unzipdone is triggered but success is always false.
I`ve also tried using DirDocuments but I get the same results.
Hope you can help.
Thank you,
Mike.