I am following step by step, and exactly copying the code provided in the following tutorial:
but still I'm not able to get the push notifications, and I don't get any errors. Any clue on this?
here is my file :
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.pushnotify.android" android:installLocation="auto">
<uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="com.pushnotify.permission.C2D_MESSAGE" />
<permission android:name="com.pushnotify.android.permission.C2D_MESSAGE" android:protectionLevel="signature" />
<application android:label="AJ" android:icon="@drawable/icon">
<receiver android:name="com.google.android.gms.gcm.GCMReceiver" android:exported="true" android:permission="com.google.android.c2dm.permission.SEND">
<intent-filter>
<action android:name="com.google.android.c2dm.intent.RECEIVE" />
<action android:name="com.google.android.c2dm.intent.REGISTRATION" />
<category android:name="com.pushnotify.android" />
</intent-filter>
</receiver>
</application>
<uses-sdk android:minSdkVersion="17" android:targetSdkVersion="17" />
</manifest>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Please help I am struggling in push notification from 4 days, :'( Thanks in advance.