WebWorks 2.0 Release Notes
Release: BlackBerry 10 WebWorks SDK 18.104.22.168
BlackBerry WebWorks 2.0 is built on Apache Cordova, an open source development framework that lets you create applications using web technologies. By aligning with Apache Cordova, BlackBerry WebWorks apps are now easier to output to multiple platforms.
This release of the BlackBerry 10 WebWorks SDK builds upon the features provided in the previous Beta release.
New in this release
BlackBerry 10 WebWorks SDK web tool
This release of the BlackBerry 10 WebWorks SDK features several improvements to the BlackBerry 10 WebWorks SDKweb tool. These improvements allow you to complete virtually all the packaging and configuration functions from within the web tool. The web tool now allows you to:
- Add and remove plugins.
- Specify more configuration settings, including logo and splash screen images, orientation, and more.
- Specify access and app permissions.
- Import WebWorks 2.0 projects created using the CLI into the web tool.
- Install the BlackBerry ID token, create the developer certificate, and link the BlackBerry ID token to previous signing authority keys.
Alignment with Apache Cordova 3.4
This release of the BlackBerry 10 WebWorks SDK is built upon Apache Cordova 3.4. Cordova 3.4 brings with it a couple of changes that impact the WebWorks SDK:
- config.xml is now stored in the root folder of the project, instead of in the www/ subfolder. If you need to make any manual changes to the file, make sure you change only the version in the root folder.
- You can now specify the --release switch when using the run command to deploy a signed version of your .bar file to a device.
Support for Ubuntu 12.04
The BlackBerry 10 WebWorks SDK now provides an installer for Ubuntu 12.04, available from the WebWorks Downloads page. Don't forget to make the installer executable after downloading it. Follow the instructions on the Downloads page!
Notes for Mac OS X and Ubuntu users
- Go to System Preferences > Security & Privacy.
- Change Allow applications downloaded from to Anywhere.
$ chmod u+x ./ BB10-WebWorks-SDK_<version>.bin $ ./BB10-WebWorks-SDK_<version>.bin
The blackberry.system.hasCapability() method does not accurately return the capabilities of the device.
When saving contact information, the information is not saved correctly. When setting the displayName property, the prefix property is erroneously set to the same value as displayName.
When uninstalling the BlackBerry 10 WebWorks SDK on OSX 10.6, the installer does not entirely remove the SDK. You must manually delete the folder to remove it.
The contacts.find() method may not accurately retrieve company details. In some cases, some company details not be returned.
The Cordova Geolocation plugin does not return the expected value for Heading. When testing the Location test page of the mobile spec, the app returns an NaN.
This issue is being tracked at Apache as issue CB-6163.
The blackberry.sensors.supportedSensors property does not return an array of strings as documented. As a workaround, use JSON.parse(blackberry.sensors.supportedSensors) to parse the value.
Last modified: 2014-04-03