Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70770

Ionic v4 - unzip is not working... plz help me

$
0
0

@ez2dragon wrote:

Ionic information

Ionic CLI : 5.3.0 (C:\Users\jylee\AppData\Roaming\npm\node_modules\ionic)
Ionic Framework : @ionic/angular 4.4.0
@angular-devkit/build-angular : 0.13.9
@angular-devkit/schematics : 7.3.9
@angular/cli : 7.3.9
@ionic/angular-toolkit : 1.5.1

I have faced a big problem with ionic/angular project.
My goal is decompress a zip file in ionic.
So I found plugins that those are @ionic-native/zip and cordova-plugin-zip.
@ionic-native/zip”: “^5.15.0”
“cordova-plugin-zip”: “^3.1.0”
Also I have installed @ionic-native/file(^5.11.0) and cordova-plugin-file(^6.0.2).
My code is so simple…
I just followed sample code on homepage sample.
this.zip.unzip(this.file.externalRootDirectory + ‘Download/map_images.zip’, this.file.externalRootDirectory + ‘Download’, (progress) => console.log(progress)).then((result) => {
console.log(result);
});
But this code have no message(success or fail)…
I have spent a lot time of this problem…
Is somebody can help me?
Please…

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70770

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>