Paywall view
LicensePromptView(manager:) is the SwiftUI view bundled with KeylightSDK that renders the activation, deactivation, and trial status UI. It reads the BrandingConfig you passed to Keylight.manager(...) for the app name, purchase URL, support email, and tint color, and drives manager.activate(key:) and manager.deactivate() under the hood.
Basic usage
Section titled “Basic usage”import SwiftUIimport KeylightSDK
struct SettingsLicenseSection: View { @EnvironmentObject var manager: LicenseManager
var body: some View { LicensePromptView(manager: manager) }}Drop it anywhere in your view tree - typically inside a Settings scene, a modal sheet on the upgrade prompt, or the onboarding flow - and it adapts to the current manager.state.