MobileChromeApps / mobile-chrome-apps

Chrome apps on Android and iOS
BSD 3-Clause "New" or "Revised" License
2.5k stars 347 forks source link

Can't get notification button icons to show on mobile. #531

Open ghost opened 9 years ago

ghost commented 9 years ago

I'm trying to use custom icons for my notification's buttons. I am able to assign a graphic to them and have them show up in Chrome on my desktop, but when I run it through CADT the icons show up as 'information' icons. Is there any special way of defining these to work on mobile, for various screen densities? Check out the attached images.

Desktop: desktop

Mobile: mobile

jpchase commented 9 years ago

Currently, it isn't possible to define custom icons for notification buttons. There are a couple reasons:

We would need to extend Cordova to support Android resources, and the chrome.notifications plugin to map asset urls to Android resources.

ghost commented 9 years ago

Thanks for the info. Sounds like a bit of work then.