tkyaji / cordova-plugin-crypt-file

This plugin to encrypt the source files.
Apache License 2.0
178 stars 116 forks source link

Crypt and AndroidInsecureFileModeEnabled issue #104

Open Amaeta opened 2 months ago

Amaeta commented 2 months ago

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?