I am attempting to use Ionic (starting from the seed using v. 0.9.27) with the Intel XDK. I’m new to the XDK so I’m still figuring things out. My app works great when I don’t reference anything related to the XDK except for one issue: API calls. After reading up on this, I found that you need to include the following line to avoid CORS:
I add this line and everything breaks. My view does not load (but the index page renders, just not the view portion). My assumption is that the XDK is stepping on the toes of Angular or Ionic but I can’t figure out where. Does anyone else have experience with this that could point me in the right direction? I did try adding the reference to the Intel XDK library (instead of Cordova) like so:
That still does not work. Like I said, if I don’t include any of Intel’s js files, everything except the API calls works. Can anyone help me figure out the next step? Thanks.
I forgot to add that I’m using the XDK app on my iPhone 4s to test my app. My app works fine in Ripple with either configuration.