11-20-2012 08:25 AM
I'm installing a sample application of Dojo "DojoAppDetails" in my BB10 device using ripple extension of Chrome. Sample app is available over here: https://github.com/blackberry/BB10-WebWorks-Commun
I'm not getting app details in the About screen. I debugged the code & the cause is:
window.blackberry property comes undefined. Hence blackberry.app.author etc details also comes undefined.
Anyone knows the solution or the work around? I also tried window.navigator property. but it won't help as it gives details about the browser and not on the application.
Thanks in advance !!
11-21-2012 07:07 PM - edited 11-21-2012 07:07 PM
Can you check if you have referenced your webworks.js file correctly? Usually an error such as this occurs when the extensions can't be loaded and we can't create the blackberry name space for you.
Unfortunately the link you posted has an index file with a link to "webworks" file as <script src="webworks-126.96.36.199.js"></script>
You should take the latest webworks out of your packager and put it in the root of your zip file. Then change this link to point to that file. Re-package and you should be on your way!
Let me know if you need more help!