Repository setting

maven {
    name = "GitHubPackages"
    url = uri("<https://maven.pkg.github.com/solum-signage-system/cms-system-controller>")
    credentials {
        username = "USERNSME"
        password = "SECRET"
    }
}
  1. Add the repository settings as above to settings.gradle.kts at the top of the Android project.
  2. Sign up for GitHub or log in with your existing account.
  3. Create a github personal authentication token.

For more details, refer to the official documentation related to the Github package.

https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-gradle-registry

  1. Change the USERNAME of maven settings which pasted in step 1 to your github user name
  2. Change the SECRET of maven settings which pasted in step 1 to generated github personal authentication token

Implementation module

Add the implmentation to the build,gradle.kts of the module you want to use the Device API as shown below.

implementation("com.solum.display:system-manager:{version}")

Please refer to the page below for the latest version and always use the latest version.

Package com.solum.display.system-manager · solum-signage-system/cms-system-controller

Package registration

To use the Device API, you must meet one of the following requirements.

  1. CMS package installed with CMS Play Wizard
  2. A package explicitly assigned permission using ‘cmd solum.platform grant-system-acess {package name}’ in the root shell.
  3. A package whose permissions have been propagated using the Package.requestGrantSystemAccess function from a package that has already been granted permissions.

Caution