I have a problem with AJAX calls

Hi everyone, my problem is the following: In my Ionic application I used AJAX calls to a remote server. All this functions perfectly until you launch the application on the android emulator where the AJAX calls do not work. Does anyone know why?
Thank you.

This is most probably a security problem.

Did you remote debug the problem on the device already? Follow these instructions here to debug the problem in Chrome dev tools: https://ionic.zone/debug/remote-debug-your-app#android Look at the console and network tabs for errors.

Thanks for the answer but in the end I solved the problem by installing a cordova plug-in

Which one? Could help future users with similar problems…