Configure apps remotely: A simple but effective way to manage apps remotely.
Create a simple configuration file that is easy to maintain and host, yet provides important flexibility to specify settings based on your needs.
General info about AppRemoteConfig can be found here.
To build the library and install it to your local Maven repository for testing:
./gradlew publishToMavenLocalTo build all platform artifacts (JVM and iOS):
./gradlew assembleTo publish the library to GitHub Packages, you need to provide your GitHub credentials.
- Create a file named
publish.propertiesin the root directory of the project. - Add your GitHub username and a Personal Access Token (PAT) with
write:packagesscope:
token.name=YOUR_GITHUB_USERNAME
token.value=YOUR_GITHUB_TOKEN- Run the publishing task:
./gradlew publishAllPublicationsToGitHubPackagesRepositoryNote: The
publish.propertiesfile is excluded from Git by.gitignoreto keep your credentials safe.
In your project's settings.gradle.kts (or build.gradle.kts):
repositories {
mavenCentral()
maven {
url = uri("https://maven.pkg.github.com/egeniq/app-remote-config-android")
credentials {
username = "YOUR_GITHUB_USERNAME"
password = "YOUR_GITHUB_TOKEN" // A GitHub Personal Access Token with 'read:packages' scope
}
}
}In your Android app's build.gradle.kts (or in the commonMain source set of a Kotlin Multiplatform project):
dependencies {
implementation("com.egeniq:app-remote-config:0.4.2")
}