Using Push in Ionic 2
<p>I'm trying to implement Push Notifications into an Ionic 2 app using the <a href="http://ionicframework.com/docs/v2/native/Push/" rel="nofollow">official documentation</a>.</p>

<p>I have included the <code>phonegap-plugin-push</code> plugin, but when I insert the code they give you (wrapped in a platform ready function), like so:</p>

<pre><code>this.platform.ready().then(() =&gt; {
     var push = Push.init({
       android: {
           senderID: "12345679"
       },
       ios: {
           alert: "true",
           badge: true,
           sound: 'false'
       },
       windows: {}
    });

});
</code></pre>

<p>I just get the following error:</p>

<p><code>ORIGINAL EXCEPTION: ReferenceError: Push is not defined</code></p>

<p>Is there something else I need to do or is it not yet possible to use Push inside an Ionic 2 app?</p>

<p>Thanks for any help.</p>