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

Posts: 15
Registered: ‎07-23-2012
My Device: BB10 / Playbook
My Carrier: AT&T

blackberry.app not found with WebWorks and BB10

I'm trying to access the blackberry.app object from my WebWorks app and it works fine in Ripple but as soon as I deploy it to my Alpha device, I get a message saying it's not found.  The docs say it's supported on BB10 but it's not working for me. 

I've got the following in my config.xml:

   <feature id="blackberry.app" required="true" version="1.0.0" />

Even tried it as just:

   <feature id="blackberry.app"/>

My js file has:

if ((window.blackberry === undefined) || (blackberry.app === undefined)){

alert("blackberry.app not found");



and further down:

alert("AppName: " + blackberry.app.name);


Should this be working at this point or is it coming later? 



Posts: 115
Registered: ‎06-06-2011
My Device: 9800
My Carrier: Rogers

Re: blackberry.app not found with WebWorks and BB10

Are you waiting for webworks ready event?

Are you including webworks.js file?


read here getting started a little different on BB10