Skip to main content
Version: 8.0.3

package

The sos.management.package API groups together methods for installing custom Android packages.

Methods

install()

The install() method installs a certain package from the specified url.

install(baseUrl: string, packageName: string, version: string, build: string | null): Promise<void>;

Params

NameTypeDescription
baseUrlstringURL where the package is available
packageNamestringName of the android package
versionstringPackage version
buildstring | nullIf relevant for your device

API Example

import { sos } from '@signageos/front-applet';

void sos.onReady(async () => {
await sos.management.package.install('https://cdn.your-cms.com', 'io.signageosWebView.app.ota', '2.4.0', 'benq');
});