Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70742

Getting blocked by CORS testing ios app

$
0
0

@helpmelearn wrote:

Added some ionic/cordova functionality to the app. Did a build to android and works fine.
On apple, it builds fine, and it pushes the app to the phone. I can’t login.

Open up Safari to debug and in the console log it says.
Failed to load resource: Origin http://localhost:8080 is not allowed by Access-Control-Allow-Origin. then the dev service I had the code point to.

Is ios trying to run this as a server and not as a file?
Not sure why I didn’t have this problem on android.
Any idea how to fix?

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 70742

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>