Write very long text to file using file plugin

#1

Hi, I have one problem.

I would like to write text to file that store on device. here is my code

`````` this.dataServices.downloadVerses(this.id).subscribe((response) =>{
let options = {};
this.file.writeFile(dir+''+'file/json/', 'filename.json', JSON.stringify(response), options);
});
``````

the problem is if text is not too long, this work well but when I try with long text (size: 700kb) this code is not work.

Do you have any idea how to write long text to file using this plugin?

Regards.