Skip to content

Instantly share code, notes, and snippets.

@cardoso
Last active July 2, 2020 02:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cardoso/f7587d7989ab34029bac2b302ac9fa62 to your computer and use it in GitHub Desktop.
Save cardoso/f7587d7989ab34029bac2b302ac9fa62 to your computer and use it in GitHub Desktop.
import UIKit
import StreamChatClient
import VoxeetSDK
import VoxeetUXKit
@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {
...
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
// Override point for customization after application launch.
Client.configureShared(.init(apiKey: "74e5enp33qj2", logOptions: .info))
VoxeetSDK.shared.initialize(consumerKey: "ZTBib3I3NzkzMmt0aA==", consumerSecret: "NDUyM2kzMTc0ZHNvZWxjaHRucG41dmpidnE=")
VoxeetUXKit.shared.initialize()
return true
}
...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment