这让我非常疯狂。我是Android开发的新手,但在iOS开发方面经验丰富。我想要实现解析推送通知到的Android应用程序,一切是怎么回事罚款:Android推送通知没有收到
- 该器件在分析
- 注册发送时所收到的信息测试Push消息的解析系统告诉我
但是:我的Android测试设备上没有收到任何东西。
我已经创造了新的解析应用程序和Android Studio项目,但没有任何运气。任何帮助调试这个或这是一个Android工作室相关的问题?
编辑:我只是跟着推送服务的快速指南,所以我加了一些线路的清单,并将此我的代码
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_inlog);
Parse.initialize(this, "xxx", "xxx");
ParseFacebookUtils.initialize("1515015192073818");
ParseInstallation.getCurrentInstallation().saveInBackground();
清单:
<receiver android:name="com.parse.GcmBroadcastReceiver"
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" />
<!--
IMPORTANT: Change "com.parse.starter" to match your app's package name.
-->
<category android:name="com.pootentieel.andrew.sbpootentieel" />
</intent-filter>
</receiver>
你能在这里展示您的GCMIntentService类.. – Ranjit 2014-10-02 13:25:42