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?