onNotification方法未调用

时间:2015-07-11 22:11:30

标签: android push-notification ionic-framework phonegap-plugins google-cloud-messaging

我正在尝试使用Ionic Push进行推送通知。我已成功注册服务器并获得了令牌ID(在Ionic中称为reg_id)。 我已经按照Ionic Docs http://docs.ionic.io/v1.0/docs/push-install中所示的所有步骤进行了操作。

但是现在当我尝试使用curl命令发送推送通知时,通知显示为已发送但应用程序从未接收过。如果我检查状态,我的状态为success。请帮忙

Comtroller Code:https://gist.github.com/samarthagarwal/833064a2de0660e826b6

非常感谢任何建议。

0 个答案:

没有答案