Closed rosmanov closed 8 years ago
Looking at the logs where PushPlugin inspects your push message
D/PushPlugin_GCMIntentService( 5184): onMessage - context: android.app.Application@41d18998
D/PushPlugin( 5184): key = foreground
D/PushPlugin( 5184): key = default
D/PushPlugin( 5184): key = collapse_key
D/PushPlugin( 5184): key = from
It looks like your push message does not have a title or a message. If your message does not have title or message the plugin assumes you are sending a data message and does not show the notification.
If you have control of the push content being send just change the key "default" to the key "message" and it should just work. If you do not have control of the push being sent you will need to make changes to plugin to look for the message under the key "default"
Thanks!
This thread has been automatically locked.
The
notification
callback successfully receives push notifications. However, notifications are never shown in the status bar.The code(using AngularJS):
The
adb logcat
command output:As we can see, plugin has managed to register GCM token and receive a notification:
Please help me to find out why are the notifications not showing up in the status bar.
Android version: 4.3 Installed SDK packages:
I'm sorry about the big number of lines. The issue tracker allows only PNG, GIF, or JPG attachments.