Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 48977

Ionic 5 Http failure response for (unknown url): 0 Unknown Error in ionic capacitor. when calling api on simulator

$
0
0

I have an ionic 5 capacitor application that calls a .NET Core backend API. It works correctly on chrome browser and android device , (emulator and real device) after build.

When I run using this command ionic cap run ios -l --external it’s working fine REST API on IOS simulator.

But If I run this command ionic cap build ios after that run simulator then REST API not working.

Have searched many solutions on google and applied in the application code but have not found any solution. Please help me how can I do this?

Thanks

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 48977

Trending Articles



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