arkit-web
arkit-web copied to clipboard
Error when loading assets not over HTTP
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