arkit-web icon indicating copy to clipboard operation
arkit-web copied to clipboard

Error when loading assets not over HTTP

Open ameliemaia opened this issue 6 years ago • 0 comments

When trying to load assets locally in a bundle the following error gets thrown: Cross origin requests are only supported for HTTP.

There's a few similar issues that have been reported across different projects:

https://stackoverflow.com/questions/36451720/cordova-ios-cross-origin-requests-are-only-supported-for-http

https://github.com/crosswalk-project/crosswalk-ios/issues/69

A solution could be to use a local web server to load the url request from:

https://github.com/httpswift/swifter/issues/206

ameliemaia avatar Aug 18 '17 11:08 ameliemaia