-
Notifications
You must be signed in to change notification settings - Fork 760
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@7.0.0 Android webview cannot display img with src="https://localhost/__cdvfile_content__/..." #526
Comments
I've seen this too I believe in version 7.0. |
If content is all that is missing and
is what is needed to add it, then PR would definitely be welcome. |
When will this gets fixed? |
I've created a pull request |
Bug Report
Problem
Android webview cannot display
<img>
with src="https://localhost/__cdvfile_content__/...
"What is expected to happen?
Android webview should display
<img>
with src="https://localhost/__cdvfile_content__/...
"What does actually happen?
ERR_CONNECTION_REFUSED in console,img not displaying
Information
<img>
with src likehttps://localhost/__cdvfile_asstes__/...
orhttps://localhost/__cdvfile_files__/...
can display in webview, but nothttps://localhost/__cdvfile_content__/...
,Environment, Platform, Device
Redmi K30 pro, Android 11
Version information
Cordova@11.0.0
Cordova-Android@10.1.2
cordova-plugin-file@7.0.0
Checklist
Reason
WebViewAssetLoader.PathHandler
incordova-plugin-file\src\android\FileUtils.java
missingcontent
uri handler.The right code is
The text was updated successfully, but these errors were encountered: