Ionic 2 Emulator
<p>I am trying to launch my app in an emulator but Im getting lots of generic console errors as if it were in a browser... anyone got any clue why this is this is one of the errors</p>

<pre><code>console.warn: Native: tried calling Facebook.login, but Cordova is not available. Make sure to include cordova.js or run in a device/simulator 
</code></pre>

<p>and this is the command I am using, the desired outcome is having livereload in the device and also having it emulated.. at the moment it acts as though it is in a browser and outputs the above error when I try to use facebook authentication</p>

<p>ionic emulate ios "--port" "8000" "--address" "192.168.56.1" "--liveReloadPort" "8000" "--nobrowser" "--consolelogs" "--serverlogs" -l</p>