fromFile

@JvmOverloads
fun fromFile(context: Context, fileName: String = "configFile.json", isUserVerificationRequired: Boolean = false, remoteLocaleMap: Map<String, String> = emptyMap()): CoreConfiguration

Creates a configuration object from a config file. This object is used to create a CoreClient instance.

Parameters

context

The current Context.

fileName

The name of the configFile. Defaults to "configFile.json".

isUserVerificationRequired

Denotes the deployment as being configured for verified users.

remoteLocaleMap

The localization map used for resolving the language for custom labels returned when requesting a RemoteConfiguration.

See also

Throws

IOException