apache / apache/cordova-plugin-inappbrowser

ERR_UNKNOWN_URL_SCHEME while access external css js file

Open
#365 0 comments 0 reactions 0 assignees View on GitHub
support
Dominant language
Java
Stars
1.1k
Forks
2.2k
PR merge metrics
No merged PRs in 30d

Description

![error](https://user-images.githubusercontent.com/3687184/49718963-c02dae00-fc81-11e8-9737-ddebf4a8a51e.png)
I have opened a .html file from file manager and it will return the following url "content://com.mi.android.globalFileexplorer.myprovider/external_files/Test/index.html", but this .html file access the external .css file ("content://com.mi.android.globalFileexplorer.myprovider/external_files/Test/style.css"). But it show "**Failed to load resource: net::ERR_UNKNOWN_URL_SCHEME**" this error.

Contributor guide

Open the contributing guide

Research direction

Reproduce the case with Test/index.html opened from the file manager, where it references Test/style.css through the shown content:// URL. Inspect the Android InAppBrowser handling of these resource URLs and verify completion when the external CSS and JavaScript resources load without ERR_UNKNOWN_URL_SCHEME.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, css, html
Domain
frontend, mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.