Embed Kustomer in your own products with our chat SDK for iOS.
- A Kustomer.com API Key (How to get an API key)
- Xcode 14.0+
- iOS 12.0+
Note: Starting with iOS version 2.6.0, the PubNub library is downloaded as a dependency if installing the SDK using the Swift Package Manager or Cocoapods.
- Create or open your project inside of Xcode
- Navigate to File > Swift Packages > Add Package Dependency
- Enter https://github.com/kustomer/kustomer-ios in the URL field
- Use the Up to Next Major Version rule spanning from 2.0.0 < 3.0.0, and hit the Next button
- Add
pod 'KustomerChat', :git => 'https://github.com/kustomer/kustomer-ios.git'
to your Podfile - Run
pod update
orpod install
on your project
- Add photo and camera privacy descriptions to your
Info.plist
. - In the
application(_:didFinishLaunchingWithOptions:)
method of yourAppDelegate
add
Kustomer.configure(apiKey: "API_KEY_HERE", options: nil, launchOptions: launchOptions)
- Call
Kustomer.show()
whenever and wherever you want to open the Kustomer chat interface.
See Installation for a full guide.