Closed
Description
I'm unable to load local files (file://...
) with XMLHttpRequest
in JS, to files in either Application.persistentDataPath
or Application.temporaryCachePath
. The same code works fine on Android.
Possibly relevant: https://stackoverflow.com/questions/35554814/wkwebview-xmlhttprequest-with-file-url
It seems that the solution is to add allowFileAccessFromFileURLs
and allowUniversalAccessFromFileURLs
to configuration preferences.
Metadata
Metadata
Assignees
Labels
No labels