您正在使用MOCA SDK, 一切正常,但当我尝试接收动作通知时, 该应用程序告诉我:
06-07 15:28:43.025 479-493 /? W / BroadcastQueue:权限拒绝: 广播Intent {act = com.moca.push.ACTION_PUSH_RECEIVE dat = intent:// moca / action / PQH24yPZTMuE8juAh2uxEw flg = 0x10 CMP = com.procibernetica.moca / com.innoquant.moca.push.MOCAPushReceiver 来自com.procibernetica.moca的bnds = [63,290] [657,375](有额外内容)} (pid = -1,uid = 10109)需要com.google.android.c2dm.permission.SEND 由于接收器 com.procibernetica.moca / com.innoquant.moca.push.MOCAPushReceiver
<receiver
android:name="com.innoquant.moca.push.MOCAPushReceiver"
android:exported="true"
android:permission="com.google.android.c2dm.permission.SEND">
<intent-filter>
<action android:name="com.innoquant.moca.push.ACTION_PUSH_RECEIVE" />
<action android:name="com.innoquant.moca.push.ACTION_PUSH_DISMISSED" />
</intent-filter>
</receiver>
<receiver
android:name="com.innoquant.moca.push.GcmPushReceiver"
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.procibernetica.moca" />
</intent-filter>
</receiver>
目前我无法找到解决方案,如果有人有建议或回应,我真的很感激