Host origin of Ionic app


I have an issue with my Ionic application which needs to be deployed as an android app. There is an authentication method on the app which needs to make a request to a server, however the server can only allow requests from custom whitelisted origins. Is there a default origin URL of my mobile app, such as for example localhost:port or is it the IP address of the internet the phone is connected to?


If you’re using Capacitor, there’s a default value set for the scheme (http or ionic) and the host.