title: Phonegap push notfication plugin - Token Refreshed
body: <p>I use phonegap push notfication plugin that can be found here: 
  <a href="https://github.com/phonegap/phonegap-plugin-push" rel="nofollow">https://github.com/phonegap/phonegap-plugin-push</a></p>
  
  <p>and with this plugin i use GCM API.</p>
  
  <p>My scenario is that:
  any user in my application have a list of tokens that indicate the phone/phones he work with:</p>
  
  <pre><code>PKID | userID | registerToken
    1  |    9   |  someToken1
    2  |    18  |  someToken2
    3  |    13  |  someToken3
    4  |    13  |  someToken4
  </code></pre>
  
  <p>user can have multiple tokens but tokens can have only 1 user.
  obviously i maintain this table with correct logic if user logged out or change phone etc...</p>
  
  <p>the problem is with Token Refresh system of GCM.
  according to GCM documentation they refresh the token periodically.
  on native code you can use a listener called "tokenRefreshed".</p>
  
  <p>1) GCM still refresh tokens , or the token is constant now ?</p>
  
  <p>2) how can i use this listener with this plugin ? </p>
  
  <p>3) how can i saftly know i have the last Register Token ID of the phone ?</p>
  
  <p>4) even if i use "tokenRefreshed" , how can i know which token it replace on my table ? ( i need to know the previous token )</p>