Emulator cant find cordova.js


#1

So when I run the following command -

ionic emulate ios --livereload --consolelogs --serverlogs

I get the following errors

[19:13:38] console.log: Angular 2 is running in the development mode. Call enableProdMode() to enable the production
mode.
[19:13:38] console.warn: Native: tried calling StatusBar.styleDefault, but Cordova is not available. Make sure to
include cordova.js or run in a device/simulator
[19:13:38] console.warn: Native: tried calling Splashscreen.hide, but Cordova is not available. Make sure to include
cordova.js or run in a device/simulator
[19:13:42] console.warn: Native: tried calling Facebook.login, but Cordova is not available. Make sure to include
cordova.js or run in a device/simulator
[19:13:42] console.log: cordova_not_available
[19:13:42] console.warn: Native: tried calling Facebook.login, but Cordova is not available. Make sure to include
cordova.js or run in a device/simulator
[19:13:42] console.log: cordova_not_available

I have rebuilt the app multiple times and still this keeps happening, its like it thinks it is running as a simple ionic serve even though it is in an emulator - reload works but I cant access any of the native features as cordova.js doesnt appear to be accessible

My config.xml looks like this:

and my system stats:

Your system information:

Cordova CLI: 6.4.0
Ionic Framework Version: 2.0.0-rc.3
Ionic CLI Version: 2.1.12
Ionic App Lib Version: 2.1.7
Ionic App Scripts Version: 0.0.46
ios-deploy version: 1.9.0
ios-sim version: 5.0.8
OS: macOS Sierra
Node Version: v6.7.0
Xcode version: Xcode 8.1 Build version 8B62

anyone got any ideas ?