WKWebView enforces CORS, so you have to configure your server to allow access from capacitor://localhost
urls.
If I enter this url in your app https://get.geojs.io/v1/ip/country.json?ip=8.8.8.8
, it works because it allow CORS.
WKWebView enforces CORS, so you have to configure your server to allow access from capacitor://localhost
urls.
If I enter this url in your app https://get.geojs.io/v1/ip/country.json?ip=8.8.8.8
, it works because it allow CORS.