apache/cordova-android

Cordova undefined when AndroidInsecureFileModeEnabled set to false

formidable255 opened this issue · 2 comments

Using cordova android version 12 via voltbuilder.

Currently trying to fix a google recaptcha issue on android where google returns invalid domain. This happens when AndroidInsecureFileModeEnabled is set to true and the origin is file:///. When set to false, the domain becomes 'https' and recaptcha works fine but cordova is undefined inside the project causing non of my plug-ins to work.

Why does cordova become undefined and any way this can be fixed?

can you provide a sample app that reproduces the issue?

Closing since there was no response