#Configuration

While the default configuration works for most use cases, you might want to configure some custom behaviors.
ℹ️ Your Dashboard configuration will override these configuration values unless they have been set with a read-only mode.

#Usage

fun config(key: String, value: Any? = null, readOnly: Boolean? = null): Engage

fun config(mapConfig: Map<String, Any?>, readOnly: Boolean? = null): Engage

#Options

#debug

  • Type: Boolean
  • Default: false
Enable debug mode to see logs in the console.

#appName

  • Type: String
  • Default: null
Set the name of your application (mostly used in some texts and variables).

#locale

  • Type: String
  • Default: "en"
Set the default locale of your application.

#customReturnUrl

  • Type: String
  • Default: null
Set a custom return URL to be used inside links with the {returnUrl} variable.