-
-
Save cardoso/da4a3fb4773a5eea79229d0015c87035 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import UIKit | |
import VoxeetSDK | |
import StreamChatClient | |
@UIApplicationMain | |
class AppDelegate: UIResponder, UIApplicationDelegate { | |
var window: UIWindow? | |
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { | |
VoxeetSDK.shared.initialize(consumerKey: "ZTBib3I3NzkzMmt0aA==", consumerSecret: "NDUyM2kzMTc0ZHNvZWxjaHRucG41dmpidnE=") | |
VoxeetSDK.shared.appGroup = "group.so.cardo.Smitch.Group" | |
VoxeetSDK.shared.preferredExtension = "so.cardo.Smitch.Broadcast" | |
Client.configureShared(.init(apiKey: "74e5enp33qj2", logOptions: .info)) | |
Client.shared.set(user: .init(id: generateUserId()), token: .development) | |
return true | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment