My ionic application was working fine < 9.1. I now upgraded the iPod device to the latest iOS version and receive the above error: Can’t find variable Cordova. Anybody knows what is going on with this?
False alarm. It had to do with the new security model introduced in iOS9 that doesn’t allow HTTP calls.
http://blog.ionic.io/preparing-for-ios-9/
info.plist
<!--
This disables app transport security and allows non-HTTPS requests.
Note: it is not recommended to use non-HTTPS requests for sensitive data. A better
approach is to fix the non-secure resources. However, this patch will work in a pinch.
To apply the fix in your Ionic/Cordova app, edit the file located here:
platforms/ios/MyApp/MyApp-Info.plist
And add this XML right before the end of the file inside of the last </dict> entry:
This file has been truncated. show original