I can't load any image from external url in real device. I am always getting the following error:
This is my capacitor.config.json
{
...,
server: {
cleartext: true,
hostname: "rootsmenu.com",
allowNavigation: [
'localhost',
'rootsmenu.com'
]
}
}

I edited
capacitor.config.tswith following configs and it worked! Also, I was editig the wrong fileandroid/app/src/main/assets/capacitor.config.json. Because it was replaced withcapacitor.config.tscontent each time I rannpx cap sync androidcapacitor.config.ts