For more information, see the Tokens & Authentication page.
In a real-world application, your authentication backend would generate such a token at login / signup and hand it over to the mobile app.
#Iphone app maker iswift trial#
This API key points to a tutorial environment, but you can sign up for a free Chat trial to get your own later. We initialize the shared ChatClient using an API key.Add both StreamChat and StreamChatUI packages to the project.Under Dependency Rule go with the "Up to Next Major Version" option and enter 4.0.0 as the version.Paste the following URL in the search field at the top right:.
The SDK can also be installed with CocoaPods, you can find more information about that on the SDK doc pages. In this tutorial we are going to use Swift Package Manager as the dependency manager. Your are now ready to start with the tutorial. Select where you want to store your new project and press "Create" button.Make sure Swift is selected as the language option and press "Next" button.Select Storyboard in the Interface options.To get started with the iOS Chat SDK, open Xcode and create a new project. The completed app for each step of the tutorial is available on GitHub.