ProxyKit LogoProxyKit Docs
iOS SDK

Configuration

How to configure the ProxyKit iOS SDK

SDK Configuration

Configure the ProxyKit SDK with your app credentials from the dashboard.

Basic Setup

SwiftUI

import SwiftUI
import ProxyKit

@main
struct MyApp: App {
    init() {
        ProxyKit.configure(appId: "app_YOUR_APP_ID_HERE") // Get from dashboard
    }
    
    var body: some Scene {
        WindowGroup {
            ContentView()
        }
    }
}

UIKit

import UIKit
import ProxyKit

@main
class AppDelegate: UIResponder, UIApplicationDelegate {
    func application(
        _ application: UIApplication,
        didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
    ) -> Bool {
        
        ProxyKit.configure(appId: "app_YOUR_APP_ID_HERE") // Get from dashboard
        
        return true
    }
}

Configuration Options

Required: App ID

Get your App ID from the ProxyKit dashboard:

ProxyKit.configure(appId: "app_xxxxxxxxxxxxxxxxxxxxxxxx")

The SDK will automatically handle environment detection and logging based on your build configuration.

Next Steps