Accelerate your projects with this development tool for Android that provides an instant UI for your app's config and settings. Instant. Easy. Useful.
Use Jarvis if you:
- Need a hidden or "developer only" config menu
- Need editable local config
- Need to override remote config
- Need to easily experiment with complex things such as buffer sizes, thresholds and deltas
- Need a no-code-change solution to modifying your app's config and settings
Jarvis has 2 parts:
- JarvisClient
You integrate this small library with your own app.
You define your app's config (in-code) which is pushed to the Jarvis App. Values can then be read from the client.
/**
* 1. Define your app's config
*/
val config = jarvisConfig {
withLockAfterPush = true
withStringField {
name = "Config field name"
value = "Config value"
}
}
/**
* 2. Push your app's config to the Jarvis App
*/
val jarvis = JarvisClient.newInstance(context)
jarvis.pushConfigToJarvisApp(config)
/**
* 3. Read config values
*/
val value = jarvis.getString("Config field name", "Default value")
- Jarvis App
You install this app on the same device as your own app.
It receives and renders your app's config which can be edited at runtime.
See the demos:
- jarvis-demo-simple: Minimum JarvisClient setup
- jarvis-demo-advanced: Integrate JarvisClient only with debug builds
- Auto-restarting of a client app when specific config fields are updated
- Support multiple client configs at the same time
- Add a range selector to the Jarvis App UI for numerical field data types
- Add local notifications to the Jarvis App (e.g: when a new config is received)