BroadcastReceiver that receives Cloud Messaging events as broadcasts and delivers
them to callback methods in the application-specific subclass declared in the
manifest:
<receiver
android:name="com.example.YourCloudMessagingReceiver"
android:exported="true"
android:permission="com.google.android.c2dm.permission.SEND" >
<intent-filter>
<action android:name="com.google.android.c2dm.intent.RECEIVE" />
<category android:name="YOUR_PACKAGE_NAME" />
</intent-filter>
</receiver>
The com.google.android.c2dm.permission.SEND permission is held by
Google Play services.
|