please-fill-out-this-field commented on issue #761: URL: https://github.com/apache/cordova-plugin-camera/issues/761#issuecomment-1419132813
> Try adding this to your config.xml file: > > `<preference name="AndroidInsecureFileModeEnabled" value="true" />` > > See here: https://cordova.apache.org/announcements/2021/07/20/cordova-android-10.0.0.html > > (then I removed and re-added platform android) It worked for me. What do you mean "removed and re-added"? I tried `cordova platform remove android && cordova platform add android` after modifying config.xml, but it didn't work - still getting that "Not allowed to load local resource" error. Am I doing it wrong? cordova-android `^10.1.2` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
