@timclicker wrote:
Hi - I am running an ionic 4 app and need to change my server url to a local ip address in order for a widget to work (intercom requires app to be run on ip address rather than localhost).
So, I added the following to my capacitor.config.json.
"server": { "url": "http://127.0.0.1" }This works for iOS (when I use capacitor://127.0.0.1) but for android (on the emulator), I get ERR_CONNECTION_REFUSED when loading the app.
Any help would be greatly appreciated. Have tried adding the below to my config.xml but that did not work.
<allow-navigation href="http://127.0.0.1/*"/>
Posts: 1
Participants: 1