Integrate Kindly Chat in your iOS app.
- This SDK makes it easy to add chat to your app.
- Provides a chat UI that can be branded.
- Made for iPhone and iPad.
- iOS deployment target: 12.0+
Add the GitHub Repo URL to your Xcode project. In the Xcode menu bar, select "File" -> "Add Packages..."
https://github.com/kindly-ai/sdk-chat-ios
You can also use CocoaPods to install the Kindly SDK. Add the following line to your Podfile
:
pod 'Kindly', '~> 2.0'
After installing the SDK, you can now use it in your iOS application.
Initialize the SDK in your AppDelegate's didFinishLaunchingWithOptions method. Use the provided bot key to start the SDK.
import Kindly
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
KindlySDK.start(botKey: "BOT_KEY")
return true
}
Display the chat interface in your desired view controller. You can call the displayChat method from the Kindly SDK and pass the desired language code.
KindlySDK.displayChat(languageCode: "en")
- Here you'll find the documentation and getting started guide.
Kindly SDK for iOS implements the following dependencies: