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

Parameters

  • 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.
  • namiLanguageCode - sets the language used for campaign targeting. Select from NamiLanguageCodes. If not set, Nami uses the device's OS-level language setting.
  • initialConfig - an JSON string containing initial configuration state for the first run experience and the case of service unavailability.

Note: parameter names differ slightly by platform.