【发布时间】:2015-04-01 02:53:24
【问题描述】:
我正在尝试实现两个使用GCM push 通知的第三方库(Parse & Localytics),但我似乎无法让两者一起工作。一个或另一个都行。
<receiver android:name="com.parse.GcmBroadcastReceiver"
android:permission="com.google.android.c2dm.permission.SEND">
<intent-filter>
<action android:name="com.google.android.c2dm.intent.REGISTRATION" />
<action android:name="com.google.android.c2dm.intent.RECEIVE" />
</intent-filter>
</receiver>
<receiver android:name="com.localytics.android.PushReceiver"
android:permission="com.google.android.c2dm.permission.SEND" >
<intent-filter>
<action android:name="com.google.android.c2dm.intent.REGISTRATION" />
<action android:name="com.google.android.c2dm.intent.RECEIVE" />
</intent-filter>
</receiver>
【问题讨论】:
标签: android parse-platform push-notification broadcastreceiver google-cloud-messaging