Class used to configure the Nami SDK when an app starts.

public class NamiConfiguration : NSObject {

    public init(appPlatformId : NamiAppPlatformId ) {
        self.appPlatformId = appPlatformId.lowercased()
    public var appPlatformId : NamiAppPlatformId
    public var logLevel : NamiLogLevel = .error
    public var bypassStore : Bool = false
    public var namiLanguageCode: NamiLanguageCode = NamiLanguageCodes.en
class NamiConfiguration(
  val context: Context,
  val appPlatformId: String,
  val logLevel: NamiLogLevel,
  val bypassStore: Boolean,
  val namiLanguageCode: NamiLanguageCode?
  context: Context,
  appPlatformId: String,
  initializer: (Builder.() -> Unit)? = null
class NamiConfiguration {
  final String appPlatformIDApple;
  final String appPlatformIDGoogle;

  final bool bypassStore;
  final NamiLogLevel namiLogLevel;
  final String? namiLanguageCode;

Note that parameter names differ slightly by platform.


  • appPlatformId - the Application Platform ID from the Control Center.
  • logLevel - set the level of logging printed by the SDK for debugging. Supports debug, info, warn, and error levels. Defaults to warn.
  • bypassStore - when true, transactions will not be sent to the store. This allows for simplified testing in development. Defaults to false.
  • namiLanguageCode - sets the language used for campaign targeting. Select from NamiLanguageCodes. If not set, Nami uses the device's OS-level language setting.