Cordova Simulators have no internet access


I’ve been following the WhatsApp tutorial successfully, however when I run the iOS or android simulators there’s no internet connect to show the internet sourced images. Everything loads but the images just have placeholders. Works fine on the browser localhost. I thought it was Apple transport security in XCODE, but that has the bypass key set correctly and it happens in Android simulator too. So I’m guessing it’s Cordova.

Anyone else had this? Thoughts? Appreciate your help.


I fixed this. It was the mobile-config.js file I was missing with an access rule. I used just to get it loading, will investigate more specific rules later. BTW I had to put this in the root folder.