breautek commented on issue #347: cdvfile: not loading local cordova.js on IOS (even without https) URL: https://github.com/apache/cordova-plugin-file/issues/347#issuecomment-545002684 Not 100% sure on this, but it might be because `cdvfile` is not a supported protocol for cors. Android (chrome) will error, at least on XHR request from a remote url, explicitly stating that: > Cross origin requests are only supported for protocol schemes: http, data, chrome, https. While here iOS isn't explicitly stating so, perhaps they have the same restriction? Just guessing here. On a side note, it's not recommended to host your app code externally. If you access device native APIs from that external code then you are breaking terms of service agreement for both the Apple & Google Play store. Your app code should be bundled with the app itself.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
