Skip to content
This repository has been archived by the owner on Jun 19, 2018. It is now read-only.

Notification is not displayed in Lolipop #3

Open
kumaresan-cgvak opened this issue Jul 24, 2015 · 9 comments
Open

Notification is not displayed in Lolipop #3

kumaresan-cgvak opened this issue Jul 24, 2015 · 9 comments

Comments

@kumaresan-cgvak
Copy link

Notification is not created and shown in the notification bar, when notification_icon is not available in the raw folder.

Usually, Cordova/Phonegap add icon.png inside drawable folder. So, we could use that icon.

@kumaresan-cgvak
Copy link
Author

@nashfive do you face the same issue ?

@LufoX11
Copy link

LufoX11 commented Sep 8, 2015

Same here. I can hear the notification sound when it arrives but nothing is displayed in the taskbar. I'm on a Nexus 5 with Android 5.1.1

@balzafin
Copy link

Same problem here.

@zckrs
Copy link
Owner

zckrs commented Oct 29, 2015

80267eb

@zckrs
Copy link
Owner

zckrs commented Oct 29, 2015

Add tricky support for Android5
You should place a png file "notification_icon.png" in platforms/android/res/raw/notification_icon.png

@zckrs
Copy link
Owner

zckrs commented Oct 29, 2015

@ishristov
Copy link

The problem still exists..

@webbpage
Copy link

webbpage commented Apr 8, 2016

Same thing here...sound received, but without actual push notification. Has this been addressed yet?

@balzafin
Copy link

balzafin commented Apr 8, 2016

I haven't tried this myself (yet), but I think you could use this for a workaround: phonegap/build#472 (comment)

Something like
<www.zip>/locales/android/raw/notification_icon.png --> <android_apk>/res/raw/notification_icon.png

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants