Sunday, February 18, 2018

Save list as CSV in ionic (PWA)

Read/Write file into devices

Installation (

Install the Cordova and Ionic Native plugins:
$ ionic cordova plugin add cordova-plugin-file
$ npm install --save @ionic-native/file
Add this plugin to your app's module

There are few ways you can use to download the file, but I'm using the easiest way, that is implementing the download which I'm not pretty sure if it runs ok on Android and iOS.
I'm not writing directly into the device storage as there are many things to consider such as storage area, security, etc.

Few references:



Mahesh P said...

Nice Information thank you for Sharing useful information. Great job.
Web developer Malaysia

Share It

Popular Posts