Skip to content

iOS error Failed to load resource: unsupported URL #246

@dpsa-dev

Description

@dpsa-dev

Hi guys

Great plugin but since the change to WKWebview this plugin has stopped working for me. I've switched to v2.1.1 which is working fine on Android. I'm using Cordova with the following plugins
"cordova-plugin-wkwebview-engine": "1.2.1",
"cordova-plugin-wkwebview-file-xhr": "2.1.4"
The following noted from the console indicates the file is downloaded/stored correctly but when fetching it it fails.

[Log] INFO: Download complete: file:///Users/shadow4768/Library/Developer/CoreSimulator/Devices/3965C47C-7718-48C3-82ED-DF9A2CCB3989/data/Containers/Data/Application/3BFC0F90-F7D4-4DFA-8648-0F440929F835/Library/NoCloud/imgcache/5b1950b1ee383f3fdd0e51bf84dfdbd505006d79 (cordova.js, line 1540)
[Log] INFO: Cached file size: 37161 (cordova.js, line 1540)
[Log] INFO: current size: 2533404 (cordova.js, line 1540)
[Log] INFO: com.apple.MobileBackup metadata set (cordova.js, line 1540)
[Log] INFO: File getdocument?documentid=41623&width=300 loaded from cache (cordova.js, line 1540)
[Error] Failed to load resource: unsupported URL cdvfile://localhost/library-nosync/imgcache/91c59e590d88a60c252d8281aa165be35a7d5798

Any ideas how I could get around this issue would be greatly appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions