f18nfz commented on issue #761: URL: https://github.com/apache/cordova-plugin-camera/issues/761#issuecomment-1415691035
> 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. Thank you so much! I recently updated to the latest version of Cordova and it broke my code - whereby it now says 'Not allowed to load local resource' when trying to display a local image and your answer (adding the extra line to config) fixes it 😁 -- 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]
