Package
Management API package allows you to install new packages.
All methods
Methods | Description | Supported since |
---|---|---|
install() | Install additional packages to Android devices (eg. new WebView) | 3.0 |
install()
Method install()
will install a certain package from the specified url.
Param | Type | Required | Value | Description |
---|---|---|---|---|
baseUrl | String | Yes | https://cdn.your-cms.com | URL where the package is available |
packageName | String | Yes | io.signageosWebView.app.ota | Name of the android package |
version | String | Yes | 2.4.0 | Package version |
build | String or null | Yes | benq or philips ,... | If relevant for your device |
Javascript example
await sos.management.package.install(
'https://cdn.your-cms.com',
'io.signageosWebView.app.ota',
'2.4.0',
'benq'
);