Repository setting
maven {
name = "GitHubPackages"
url = uri("<https://maven.pkg.github.com/solum-signage-system/cms-system-controller>")
credentials {
username = "USERNSME"
password = "SECRET"
}
}
- Add the repository settings as above to settings.gradle.kts at the top of the Android project.
- Sign up for GitHub or log in with your existing account.
- 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
- Change the USERNAME of maven settings which pasted in step 1 to your github user name
- 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.
- CMS package installed with CMS Play Wizard
- A package explicitly assigned permission using ‘cmd solum.platform grant-system-acess {package name}’ in the root shell.
- A package whose permissions have been propagated using the Package.requestGrantSystemAccess function from a package that has already been granted permissions.
Caution