下記のように通知を受信した時に処理してやれば良いのではないでしょうか?
NotificationCompat.Builder builder = (android.support.v7.app.NotificationCompat.Builder) new NotificationCompat.Builder(getApplicationContext())
.setSmallIcon(R.mipmap.ic_launcher)
.setVibrate(new long[]{0, 1000})
.setAutoCancel(true)
.setContentText(messageBody)
.setContentTitle(messageTitle)
.setContentIntent(contentIntent);
NotificationManager mNotificationManager = (NotificationManager) this.getSystemService(Context.NOTIFICATION_SERVICE);
mNotificationManager.notify(1,builder.build());
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。