标签: push-notification google-cloud-messaging ibm-mobilefirst mobilefirst-cli
我在我的应用程序中使用mobilefirst推送通知服务。我正在使用rest api将消息发送给GCM。
GCM接收并将其发送回移动设备但在设备中我能够在日志中看到推送消息,但不在警报中,这是我在客户端设备中注册的事件源。
答案 0 :(得分:1)
您收到了针对Push.ALL标记的通知。这是广播通知,不会出现在您使用Eventsource订阅注册的回调中。
您应该使用onMessage回调API,如KnowledgeCenter和GettingStarted中所述。