Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

White notifications in Android 5 Lollipop #93

Closed
tapionx opened this issue Apr 20, 2015 · 9 comments
Closed

White notifications in Android 5 Lollipop #93

tapionx opened this issue Apr 20, 2015 · 9 comments

Comments

@tapionx
Copy link

tapionx commented Apr 20, 2015

On android lollipop i get a white icon on the push notifications.
I want to specify a different icon to use for the notifications so i can set the alpha channel as i want.
I tried to follow the instructions in the FAQ https://www.pushwoosh.com/programming-push-notification/android/android-faq/#lollipop-icon
but i don't understand where to put the file pw_notification.png

@shaders
Copy link
Contributor

shaders commented Apr 20, 2015

Hi,

Put it in "res/drawable" folder

@shaders shaders closed this as completed Apr 20, 2015
@matthewbecker1990
Copy link

Just adding to this issue -
Would really appreciate a way to set the Accent Color behind notifications in the notifications tray for API 21+

@shaders
Copy link
Contributor

shaders commented Sep 21, 2015

It's called "Image Background Color" in the control panel (should be really renamed).

@MaicolBen
Copy link

I tried adding pw_notification.png file to the res/drawable and it didn't worked for me, could it be difficult to implement the same fix that phonegap-plugin-push did in phonegap/phonegap-plugin-push#20?

@shaders
Copy link
Contributor

shaders commented Feb 9, 2016

Are you sure you put it in the res/drawable folder? The one in the the platfroms/android folder?

@MaicolBen
Copy link

@shaders Yes. I put in the same folders that the other icons. I had to downgrade the sdk to get it work instead.

@CookieCookson
Copy link
Contributor

CookieCookson commented Sep 20, 2016

@MaicolBen: Did you ever get this working with the latest SDK?

edit: nvm I got it working, a setting in Crosswalk meant it was not uploading my new builds on deploy.

@acti0nm4n
Copy link

I got this working by ensuring all the icon types (xxhdpi, mdpi etc) had the small notification icon I required, then set the android_icon parameter to it (minus suffix) in the PW API request.

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

No branches or pull requests

7 participants