Get localfilesystem in android/ios


#1

Hello,

In ionic 1, using the file plugin, it was possible to get access to the root system using

$window.requestFileSystem(LocalFileSystem.PERSISTENT, 0, function (fileSystem) {
});

How to do same in ionic 2? Reading the github documentation does not show to have access to the localfile system.

Thanks,
Ashley


#2

Which Cordova plugin was begin this?


#3

Or was it this: https://cordova.apache.org/docs/en/3.1.0/cordova/file/localfilesystem/localfilesystem.html Then it was part of Cordova, check out the Plugin that replaced it. Should also be available via Ionic Native.


#4

yes it is that plugin and it is replaced by the file plugin. unfortunately i don’t see how to get access to the filesystem. In fact, I am trying to build a file chooser in order to browse and upload a file.

Thanks,
Ashley