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
var namiConfig = NamiConfiguration(appPlatformId: "APP_PLATFORM_ID")
namiConfig.logLevel = .warn
Nami.configure(with: namiConfig) { successOrFailure in
}import android.content.Context
import com.namiml.Nami
import com.namiml.NamiConfiguration
import com.namiml.NamiLogLevel
Nami.configure(
NamiConfiguration.build(
context,
"APP_PLATFORM_ID"
) {
logLevel = NamiLogLevel.WARN
}
) { configureResult, configureState ->
}Last updated