I understand when you run your app on a local webserver (i.e.) 127.0.0.1, it runs and loads index.html for mobile web. I am trying to run my app directly by clicking on my index.html file within my resources folder. I want to use the file:// protocol, but due to security restrictions on the browser I cannot.
I get this error on the 1st line of my app. Where do I go from here? Is there a way around this?
I really need to get this to work, any suggestions are welcome.
XMLHttpRequest cannot load file:///Users/Matt/Desktop/testproject/titanium/Ti/_/UI/WebViewBridge.js. Cross origin requests are only supported for HTTP.