title: Not receiving GCM Notifications on Pubnub
body: <p>I am trying to get Push Notification w/GCM in my PubNub app:</p>
  
  <p>Here is what I am doing :</p>
  
  <ol>
  <li>I registered to regular PUbnub channels and am able to send receive regular messages.</li>
  <li><p>Subscribe to PushNotification Channel :</p>
  
  <p>var regId = getDeviceRegistrationId(). //This was from GCM register response</p>
  
  <pre><code>pubnub!!.addPushNotificationsOnChannels()
  .pushType(PNPushType.GCM)
  .channels(Arrays.asList( pubnubChannelID+ CHANNEL_TAG_PUSH))
  .deviceId(regId)
    .async( object  : PNCallback&lt;PNPushAddChannelResult&gt;() {
        override fun onResponse(result: PNPushAddChannelResult?, status: PNStatus?) {
        Timber.d("PNPushAddChannelResult  "+!status!!.isError)  
      }
  });
  </code></pre></li>
  <li><p>In Pubnub console, I put in a valid GCM api key</p></li>
  <li><p>I am publishing the Message as below to the Channel registered above :</p>
  
  <p>{
      "pn_gcm": {
       "data":  "A Message"
    },
    "pn_apns" : {
          "aps": {
             "alert" : {
                "loc-key" : "MessageAlertKey",
                 "loc-args" : "none"}
          }
  }
  }</p></li>
  </ol>
  
  <p>The documentation at : <a href="https://support.pubnub.com/support/discussions/topics/14000006344#latest" rel="nofollow noreferrer">https://support.pubnub.com/support/discussions/topics/14000006344#latest</a> is only marginally useful.</p>
  
  <p>What am I missing from receiving a GCM Push Notification on android device with Pubnub?</p>
  
  <p>Appreciate any help.</p>
  
  <p>Thanks</p>