NamiConfiguration

Fields used to configure the Nami SDK

  • appPlatformId (required): The unique App Platform ID from the Nami Control Center, used to fetch the correct configuration from the server.

  • logLevel (optional): Controls the SDK’s logging verbosity. Defaults to .warn.

  • namiLanguageCode (optional): Specifies the desired language for configuration and assets, falling back to the device’s preferred locale.

  • initialConfig (optional): JSON string used to bootstrap the SDK on first run if server config is unavailable.

  • provisionalGrantTTL (optional): Sets the duration (in seconds) for temporary entitlements before they expire. Default behavior varies between production and sandbox environments.

  • namiCommands: Enables feature flags or functionality for testing and internal diagnostics.

Last updated