cordova-plugin-crypt-file icon indicating copy to clipboard operation
cordova-plugin-crypt-file copied to clipboard

Crypt and AndroidInsecureFileModeEnabled issue

Open Amaeta opened this issue 1 year ago • 0 comments

I am using the Cordova plugin add https://github.com/weareu/cordova-plugin-crypt-file.git created by Weareu.

Mine is a streaming App. Whenever I add AndroidInsecureFileModeEnabled = "true" to the config.xml, I have the file not find error net::ERR_FILE_NOT_FOUND (file:///android_asset/www/+++/index.html). If I remove AndroidInsecureFileModeEnabled it builds but http: files does not play. If I remove the Crypt file, the file plays.

I have cleartextTrafficPermitted="true" set in AndroidManifest.xml.

Has anyone solved this?

Amaeta avatar Apr 22 '24 12:04 Amaeta