Home > Net >  ionic, android 11, cordova_file_plugin, app folder is not accessible
ionic, android 11, cordova_file_plugin, app folder is not accessible

Time:11-11

I'm using cordova_file_plugin to save a file on the device, the problem is that the application folder in Android/Data is hidden and not accessible from the file manager. Is there any way to access the app folder or save the file in another public folder? I'm using externalDataDirectory

this.file.writeFile(this.file.externalDataDirectory, fileName, csv, {replace: true})
      .then(
        res => {
          const msg = 'Die CSV-Datei wurde erfolgreich exportiert und ist unter "Eigene Dateien" '  
            'auf Ihrem Gerät verfügbar.';
          this.toastsService.showSuccessMessage(msg);
        }
      )
}

CodePudding user response:

The answer is in the comments.

  • Related