title: Unable to receive push notification in Android using Parse
body: <p>In Parse console it shows Delivery report as successful, but onPushReceive is not getting called at all. What am I missing here? any help would be appreciated. </p>
  
  <p>Below is my code. 
  Manifest code: </p>
  
  <pre><code>    &lt;receiver
          android:name="com.google.android.gms.gcm.GcmReceiver"
          android:permission="com.google.android.c2dm.permission.SEND"&gt;
          &lt;intent-filter&gt;
              &lt;action android:name="com.google.android.c2dm.intent.RECEIVE" /&gt;
              &lt;category android:name="com.appname" /&gt;
          &lt;/intent-filter&gt;
      &lt;/receiver&gt;
  
      &lt;service android:name="com.parse.PushService" /&gt;
  
      &lt;receiver android:name="com.appname.PushReceiver"
          android:permission="com.google.android.c2dm.permission.SEND"
          android:exported="false"&gt;
          &lt;intent-filter&gt;
              &lt;action android:name="com.parse.push.intent.RECEIVE" /&gt;
              &lt;action android:name="com.parse.push.intent.OPEN" /&gt;
              &lt;action android:name="com.parse.push.intent.DELETE" /&gt;
          &lt;/intent-filter&gt;
      &lt;/receiver&gt;
  
      &lt;receiver
          android:name="com.parse.GcmBroadcastReceiver"
          android:permission="com.google.android.c2dm.permission.SEND"&gt;
          &lt;intent-filter&gt;
              &lt;action android:name="com.google.android.c2dm.intent.RECEIVE" /&gt;
              &lt;action android:name="com.google.android.c2dm.intent.REGISTRATION" /&gt;
  
              &lt;!--IMPORTANT: Change "com.parse.starter" to match your app's package name.--&gt;
  
              &lt;category android:name="com.appname" /&gt;
          &lt;/intent-filter&gt;
      &lt;/receiver&gt;
  </code></pre>
  
  <p>PushReceiver class:</p>
  
  <pre><code>public class PushReceiver extends ParsePushBroadcastReceiver
  {
  
  @Override
  protected void onPushReceive(Context context, Intent intent) {
      super.onPushReceive(context, intent);
  
      Log.v("Push Receive called...", "");
  
  
      if (intent == null)
          return;
  
      try
      {
          JSONObject json = new JSONObject(intent.getExtras().getString("com.parse.Data"));
  
  
  
      } catch (JSONException e) {
          e.printStackTrace();
      }
  }
  
  
  
  }
  </code></pre>