title: How to check for waiting notification messages when application start
body: <p>I implemented Google Cloud Messaging for Android (GCM). I'm using  the GCM service:</p>
  
  <pre><code> &lt;service android:name=".GCMIntentService" /&gt;
  </code></pre>
  
  <p>and when new message arrive the onMessage fired:</p>
  
  <pre><code> protected void onMessage(Context context, Intent intent) {
  </code></pre>
  
  <p>i'm only facing one issue if <code>GCMIntentService</code> service for some reason stop working, and new notification arrive. Now, even when user launch app, the above <code>onMessage</code> don't get fired. </p>
  
  <p>I wonder in this case if there away for app to check if there any new waiting notification, that have be missed because GCMIntentService wasn't running. </p>
  
  <p>the issue is <code>GCMIntentService</code> only start to work when user launch app for first time, but consider for example the case when user restart handset, in this case <code>GCMIntentService</code> still not running.</p>