zoranmil opened a new issue #1338:
URL: https://github.com/apache/cordova-android/issues/1338
# Bug Report
can't load images from local storage after update to 10.1.0 and remove
cordova-plugin-whitelist
## Problem
### What is expected to happen?
### What does actually happen?
## Information
<!-- Include all relevant information that might help understand and
reproduce the problem -->
Image exists in local storage
Images still do not load correctly
error
W/System.err: at
org.chromium.android_webview.AwContentsBackgroundThreadClient.shouldInterceptRequestFromNative(chromium-TrichromeWebViewGoogle.aab-stable-451515933:2)
E/SystemWebViewClient: www/data/user/0/com.user/files/IMG-20210709-WA0000.jpg
### Command or Code
<!-- What command or code is needed to reproduce the problem? -->
Options:
destinationType: Camera.DestinationType.FILE_URI,
sourceType: Camera.PictureSourceType.PHOTOLIBRARY,
navigator.camera.getPicture( displayImage, cameraError, Options);
function displayImage(imgUri) {
var elem = document.getElementById('imageFile');
elem.src = imgUri;
}
### Environment, Platform, Device
<!-- In what environment, on what platform or on which device are you
experiencing the issue? -->
### Version information
<!--
What are relevant versions you are using?
For example:
Cordova: Cordova CLI, Cordova Platforms, Cordova Plugins
Other Frameworks: Ionic Framework and CLI version
Operating System, Android Studio, Xcode etc.
-->
windows 10
cordova 10.1.0
cordova-plugin-camera
## Checklist
<!-- Please check the boxes by putting an x in the [ ] like so: [x] -->
- [ x] I searched for existing GitHub issues
- [x ] I updated all Cordova tooling to most recent version
- [ ] I included all the necessary information above
--
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]