Not allowed to load local resource

I’m using the"cordova-plugin-file": “^6.0.2” in my app and after save a voice file or image file to root path or to data path and try to load it I get this message:

Not allowed to load local resource: file:///storage/emulated/0/Android/data/io.ionic.starter/files/myApp/548fa190-b6d0-2123-51ae-9f4dc0c9f9f2/966ee4bd-535b-4013-9e4e-6191e0e0f0ed.m4a

i tried to save the file in both paths:
this.file.externalDataDirectory
and
this.file.externalRootDirectory

but i received the same error.
i tried also to decrease version number of “cordova-plugin-ionic-webview”: “^4.1.3” to “cordova-plugin-ionic-webview”: “^1.2.1” and to use:
this.webview.convertFileSrc(…) but this didn’t help.
any ideas please?

var nativeUrl = (window).Ionic.WebView.convertFileSrc(
this.file.externalDataDirectory +
“images/” +
Name +
“.png”
);

Thanks curiousP,
but this creates a url that looks like this:

http://localhost/app_file/storage/emulated/0/myApp/548fa190-b6d0-2123-51ae-9f4dc0c9f9f2/966ee4bd-535b-4013-9e4e-6191e0e0f0ed.m4a

and shows an 404 error.

please check if this resource is available in the directory