I’m using Ionic 2 on my Android (7.1.2) device and getting code 6 when I use the removeFile method of the ionic-native file object. I have permission to write on external storage.
I’m calling the method this way: this.file.removeFile(path, this.entries[i].name)
Where path is: ‘file:///android_asset/www/assets/melodies/E/’
and this.entries[i].name is: ‘500hz.wav’
The file exists in path. I’ve tried to use the method “moveFile” to make a logical deletion but it returns the same ‘No Modification Allowed Error’.