JavaScript Ubuntu Touch Scopes have been improved

Jun 24, 2015 04:50 GMT  ·  By

Canonical's David Barth has sent his regular report to the Ubuntu Touch mailing list archive, informing us about the new features that have been implemented for Web Apps in the mobile operating system for Ubuntu phones.

Therefore, we can report that the Ubuntu Touch Scopes that are written in the JavaScript (JS) language are now capable of saying "Hello World!", as the v8-cpp library has been integrated to bind generic types inside a Node.js-based container (check the attached screenshot below).

However, at this stage of development, the Ubuntu Touch team is still using a static library that's made from Node.js. They are working hard these days to leverage the hooks required from Node.js. "We're still using a static lib made from nodejs at this stage, but looked into how to surface more of the hooks required from nodejs," says David Barth.

HTML5 Web Apps will soon support notifications

For the Online Accounts section of Ubuntu Touch, David Barth is happy to report that the u-s-s-o-a library has been extended to support the usage of version 2 of the API (Application Programming Interface), and two bugs have been addressed, one related to lost accounts when updating the app from the Ubuntu Store or run it on a device from qtc, and the other one related to Web Apps that fail to use the accounts that were registered via Ubuntu Online Accounts.

The Web notifications branch has been reviewed so it will soon be integrated into Ubuntu Touch, along with improvements to the push notification branch, which should be capable of using the permission API. Last but not least, the Oxide video player received a command-line option to support external players, a brand-new API for setting headers into the media player, as well as unit and integration tests.

Scopes in JS say Hello
Scopes in JS say Hello

Photo Gallery (2 Images)

Ubuntu Touch running on BQ Aquaris E4.5
Scopes in JS say Hello
Open gallery