init
apiKey(String): Found in the RampKit dashboardenvironment(Enum):.productionor.stagingautoShowOnboarding(Bool): If true, automatically present when data is availableonOnboardingFinished(Closure): Completion callback with payload
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Initialize the RampKit iOS SDK
RampKit.initSdk(
apiKey: "YOUR_API_KEY",
environment: .production,
autoShowOnboarding: false,
onOnboardingFinished: { payload in
print("Flow finished with payload: \(payload)")
}
)
apiKey (String): Found in the RampKit dashboardenvironment (Enum): .production or .stagingautoShowOnboarding (Bool): If true, automatically present when data is availableonOnboardingFinished (Closure): Completion callback with payload