KiteDebugScope

abstract class KiteDebugScope

What a debug build changes, inside kiteConfig { debug { ... } }.

The debug build is the one Android Studio and Xcode install while you work. Give it its own identifier and it installs next to the released app instead of replacing it. Give it its own name or icon and you can tell the two apart.

kiteConfig {
appName = "Jetzy"
appId = "com.example.jetzy"
debug {
appId { suffix = ".debug" } // com.example.jetzy.debug
appName = "Jetzy Dev"
logo { background = color("#B00020") } // same mark, red plate
}
android { debug { appId { suffix = ".dev" } } } // Android gets com.example.jetzy.dev
}
membermeaningdefault
appNamethe debug build's display namethe platform's release name
appIdthe debug build's exact identifierthe release id plus appId { suffix }
appId { suffix }added to the end of the platform's release identifiernone
logo { }the debug icon; any logo value you leave unset uses the release iconthe release icon

Nothing here is on until you set a value, so an empty block changes nothing. Each value also needs its release value to reach that platform. Each value is looked up closest first: the platform's own debug { }, then this block, then that platform's release value.

Android uses this for its debug build type, iOS for its Debug build configuration. Desktop has no debug build, so desktop { } has no debug { }.

Inheritors

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
abstract val appId: Property<String>

The exact identifier of the debug build.

Link copied to clipboard
abstract val appName: Property<String>

The display name of the debug build. Unset means the release name.

Functions

Link copied to clipboard
fun appId(action: Action<in KiteAppIdScope>)

The debug id's suffix, and a switch to turn the debug id off.

Link copied to clipboard
fun appName(action: Action<in KiteAppNameScope>)

Whether the debug build receives its own name.

Link copied to clipboard
fun logo(action: Action<in KiteLogoScope>)

The debug icon. Any logo value you leave unset uses the release icon.