ionic, android 11, cordova_file_plugin, app folder is not accessible


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})
        res => {
          const msg = 'Die CSV-Datei wurde erfolgreich exportiert und ist unter "Eigene Dateien" ' +
            'auf Ihrem Gerät verfügbar.';


The answer is in the comments.

Answered By – blackapps

This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply

(*) Required, Your email will not be published