title: How to generate 'registrationId' of device for push notification - IONIC
body: <p>I have installed the cordova and ionic native plugins successfully <code>ionic cordova plugin add phonegap-plugin-push</code> and  <code>npm install --save @ionic-native/push</code></p>
  
  <p>After this i have added below code on my <code>dashboard.ts</code> and <code>app.module.ts</code></p>
  
  <pre><code>import { Push, PushObject, PushOptions } from '@ionic-native/push';
  </code></pre>
  
  <p>Do i need to add some in <code>imports</code> in <code>app.module.ts</code> ?</p>
  
  <p>Now i added <code>private push: Push</code> in my constructor</p>
  
  <p>Now </p>
  
  <pre><code>OnInit(){
  // i need to generate a registerationID in a variable which i can see on a popup //to make sure it is generated.
  }
  </code></pre>
  
  <p>How can I achieve this?</p>