Hi to all,
I started a new app with ionic v1 using: cordova 8.0.0, ionic 3.20.0, cordova-android 7.0.0, cordova ios 4.5.4.
I use v1 because because i have no time to learn typescript now, i just developed 2 app with ionic v1.
All 3 apps share part of code, specifically the one for connecting to our servers, and I expect all of them to connect to the same servers without problems but…
The new app give me this error “Failed to load http://example.com: No ‘Access-control-Allow-Origin’ header is present on the request source…”
It happens with run command.
whitlist plugin is installed
is set in config.xml
In meta “Content-security-policy’ i tried also ''default-src *”
As i said, others apps have no problem to connect to same server but they use: cordova 7.0.1, ionic 1.7.16, cordova-android 6.1.0
I search and try many solution but nothing.
Thanks in advance.