configure

Initialize the client-side Nami SDK with your App Platform ID. Required for Nami to see paywalls and campaigns defined in the Nami Control Center.

Initialize the Nami SDK with configure. Pass in the NamiConfiguration object to tailored the SDK for your purposes.

import NamiApple

let appPlatformId = "YOUR_APPLE_APP_PLATFORM_ID"

let namiConfig = NamiConfiguration(appPlatformId: appPlatformId)
namiConfig.logLevel = .debug // If omitted, defaults to WARN
namiConfig.namiLanguageCode = NamiLanguageCodes.fr // If omitted, defaults to device
Nami.configure(with: namiConfig)

Last updated