Using Cordova in Chrome


#1

In my ionic application, I want to use:
this.file.writeFile():
I am running my application in chrome using

ionic cordova run browser

When I use writeFile, nothing happens!

More Details:
import: import { File } from '@ionic-native/file';
actual code: this.file.writeFile(this.file.cacheDirectory, "Test.txt", "Test");


#2

Hello,

if you look to chrome console, then you will see, when you try to call whatever in a native plugin, that it is not avaiable.
For @ionic-native/file is described in the first sentence, that it allow access to files on device.

Best regrads, anna-liebt