We’ve noticed that ever since adding the Ionic Pro dependencies to our project, we started running into CORS issues while running on a real device. Our app relies heavily on interactions with an API that doesn’t have CORS enabled, neither can it have it enabled.
We’ve noticed that ever since adding the library, our requests origins changed from
http://localhost:8080 - presumably because of Ionic Deploy? With the file origin everything works fine, however with the localhost origin none of our requests work.
So our questions are:
- has anyone come across this?
- am I right to assume that the origin changed because of Ionic Pro, more specifically Ionic Deploy?
- is there any way to keep a
file://origin while using Ionic Monitoring? We don’t really care about Deploy at this stage.