Can not store data in a file

Hello,

I am developping an app using Ionic 4 with React.
I succeded to store data in LocalStorage using Capacitor Storage API (https://capacitor.ionicframework.com/docs/apis/storage/). It’s pretty easy to use and it is efficient.

Now, I need to backup everything in a file to be sent.
I tried the FileSystem API (https://capacitor.ionicframework.com/docs/apis/filesystem/) but I m not able to find my file once it has been created.

I tried to find my file on my Virtuel Device and on my Samsung Galaxy s7 but I found nothing.

Did I miss something?
Where are these folders mentioned in FileSystemDirectory?

Thanks

I found a way to get what I needed… I post here in case it could help someone.

I install this package:

=> npm i @byteowls/capacitor-filesharer

Then in my React class:

import {FileSharer} from '@byteowls/capacitor-filesharer';
FileSharer.share({
        filename: fileName,
            base64Data: "content converted as base64 string",
            contentType: " text/plain",
    }).then(() => {
       alert("export done!");
    }).catch(alert);

![image|507x500](upload://ptL8yHilFna0djIgbMFrbMZxyp2.jpeg) 

You'll be able to find your file in the download folder
![image|690x479](upload://cpmoXbgRFqnHKyO3cXF6ADtRghP.png)