Ionic v1 app - No Internet Connection

I have a v1 app that is getting a popup message in android emulator or on android device that there is no internet connection. I am also noticing that the $ionicplatform.ready event is not firing. If I run it in the browser, everything works fine.

The app was working fine until we update npm, ionic and cordova libraries after ionic did away ionic cloud.

I have the cordova whitelist plugin installed and http-equiv Content-Security-Policy set to default-src *.

Any suggestions on where to start. This is really frustrating since its pretty much the exact same code was working before we updated. I have even created a new app so all the libraries were new and still no internet.



Any thoughts on what could be causing this?