title: Show alertbox on GCM notification recieved
body: <p>There is one requirement where I need to show alert box with yes and no button when I receive push notification using GCM.</p>
  
  <p>There will be two scnerios:</p>
  
  <ol>
  <li><p>If app is in background, User gets the notificaiton in titile bar. On click of notification user will be directed to app and <strong>here alert box needs to be shown where user will be having two options i.e Yes or No</strong></p></li>
  <li><p>If app is in foreground, User automatically gets alert box needs to be shown where user will be having two options i.e Yes or No**</p></li>
  </ol>
  
  <p>Please help me achieving this.</p>