Read/Write file into devices
Installation (https://ionicframework.com/docs/native/file/)
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:
Sunday, February 18, 2018
Home »
ionic
,
Ionic Framework
,
Mobile Apps
,
Mobile World
,
Programming
,
PWA
,
Scripting Language
,
Software Development
,
Tips and Trick
,
Web-based application
» Save list as CSV in ionic (PWA)
1 comments:
Nice Information thank you for Sharing useful information. Great job.
Web developer Malaysia
Post a Comment