Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development

Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)

BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.

"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."

- Kevin Michaluk, Founder, CrackBerry.com

Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.

Posts: 466
Registered: ‎04-11-2012
My Device: Bold 9900
My Carrier: Rogers

window.webkitNotifications.createNotification Questions

Two questions regarding: window.webkitNotifications.createNotification


1) Is it possible to make the icon a image inside the bar file?

2) It seems like webworks notifications needs to be enabled for this to run. Is is possible to invoke this in the config.xml?



Developer for easyDial for BlackBerry Bold & inLink for BlackBerry PlayBook
Find me online via twitter, or on the techfruits.com webpage. Please hit the like button below if what I said helped!
Posts: 607
Registered: ‎04-29-2011
My Device: PlayBook 16GB, BB10 LE Z10 (red)
My Carrier: none

Re: window.webkitNotifications.createNotification Questions



1.) Like explained in the other forum post by Adam here you should be able to use your own image and I asume it should be possible to add them directly to the .bar file. The KitchenSink examples contains both, local and remote image, but I couldn't get it working with images at all on PB or BB10 yet.


2.) I think you do not need to add something in the config.xml, but every time the app request for the permission to show a notification it will open a custom dialog to the user. The problem I see is that this is very annoying every time your app start and the will be asked to allow notifications from it. For me this should be part of the config.xml as well to allow/deny at installation time and not later on every time. Think we should pull a request for it to PB + BB10 Framework repos to add it to the access or feature elements?!?!

"Like" if you liked the post.
"Accept as Solution" if the post solves your question.