Upgrading Apps for New Platform
If you already have webOS TV apps published, there are few changes you need to consider to make your app support new webOS TV platform versions. Here are a few points we would like to let you know for a quick start.
WEBOS TV 3.x
- The web engine of LG Browser in webOS TV 3.x is upgraded to Blink. This resulted in a few changes including the value change of the userAgent string.
- There are a number of changes in Standard Web API.
- webOS TV 3.x supports more properties and methods of Video/Audio Element, IndexedDB, and Canvas.
- Google’s WebM media format is now supported. To learn more, refer to Supported Media and DRM Formats.
- Magic remote’s exterior design and the key mappings have been changed. See Remote Control to find out more information.
- USB App Test service is no longer available for testing on real TVs. Developer Mode app, which provides a more comfortable testing environment has been introduced. Read App Testing for more details.
- A Luna Service API, Device Unique ID, has been added. It generates the device’s unique ID for apps and their services. To find out more about this API and its method, see Device Unique ID.
- In addition to Enyo 2.3 and 2.5, Enyo 2.6 is newly supported.
- In Enyo 2.6, enyoVersion, onDeviceSource properties are no longer used. Use Enyo 2.3 or 2.5 for these properties.
- disableBackHistoryAPI has been added as a App Metadata (appinfo.json) property. This property sets whether your app can receive a back key event when the remote’s back button is pressed. For more information, see App Metadata (appinfo.json).