Skip to main content
Coming SoonThe Whop iOS SDK is currently in development. These docs are a preview of what’s coming. Join our Discord to get notified when it’s available.
The Whop iOS SDK enables you to build native iOS experiences with Whop’s platform features including embedded chat, user management, and more.

Basic Usage

Configure the SDK with your token provider, then use the chat:
import Whop

Whop.configure(
    appID: "app_xxxxxxxxxxxxxx",
    tokenProvider: {
        try await fetchWhopToken()
    }
)

struct ChatView: View {
    var body: some View {
        WhopChatView(channelID: "channel_xxxxxxxxxxxxxx")
    }
}

Get started

Requirements

  • iOS 17.0+
  • Xcode 15.0+
  • Swift 5.9+