Ionic Capacitor Directory not disaplay in reality only showing the temp path with real path there is no directory

Ionic Capacitor Directory not disaplay in reality only showing the temp path with real path there is no directory.I used the official documents and code from here https://capacitor.ionic framework.com/docs/apis/filesystem/.but its all things running read directory make directory.but when i check there is not folder exist in reality.please tell how to show the real folder.follow my code

 try {
      Filesystem.writeFile({
        path:"ABCD/"+fileName+".txt",
        data:data,
        directory:dir,
        encoding: FilesystemEncoding.UTF8
      }).then(data=>{

              Filesystem.getUri({
                directory:dir,
                path:"ABCD/"+fileName+".txt",
              }).then(
                result => {
                  let path = Capacitor.convertFileSrc(result.uri);
                  console.log(path);
                },
                err => {
                  console.log(err);
               }
           );


        this.toast.show("File saved to ABCD");
      })
    } catch(e) {
      console.error('Unable to write file', e);
    }

i get this virtual path when i check my android device after make apk file install.when this function calll but i never get the folder in reality.but its return this path but in this path this folder and file is not exist

my question is where is ionic team ?

1 Like