简体   繁体   English

使用 pusbots 发送通知时,Android 设备上没有弹出消息

[英]No pop-up message on android device when sending notification with pusbots

I am trying to add push notifications with pushbots on my android app.我正在尝试在我的 android 应用程序上使用 pushbots 添加推送通知。 Everything works, message is received, sound alert, but no message window/popup.一切正常,收到消息,发出声音警报,但没有消息窗口/弹出窗口。 I am a bit new to this and stuck (pushbots support is not being very responsive or explicit) so please help.我对此有点陌生并且卡住了(pushbots 支持不是很敏感或明确)所以请帮忙。

This is last part from logcat when receiving message:这是接收消息时 logcat 的最后一部分:

D/ActivityThread﹕ SVC-Destroying service: com.pushbots.push.GCMIntentService@4220ca30
D/ActivityThread﹕ SVC-STOP_SERVICE handled : 0 / android.os.BinderProxy@4212e1f8
D/dalvikvm﹕ threadid=16: exiting
D/dalvikvm﹕ threadid=16: bye!

When you receive the push notification, it is up to you to build the notification you'll present to the user.当您收到推送通知时,由您来构建将呈现给用户的通知。

https://developer.android.com/training/notify-user/build-notification.html https://developer.android.com/training/notify-user/build-notification.html

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM